- Major change: Errors are now positive numbers instead of negative.
Reason: You cannot OR negative values correctly
diff --git a/include/polarssl/base64.h b/include/polarssl/base64.h
index a439d55..78919c7 100644
--- a/include/polarssl/base64.h
+++ b/include/polarssl/base64.h
@@ -22,8 +22,8 @@
#ifndef POLARSSL_BASE64_H
#define POLARSSL_BASE64_H
-#define POLARSSL_ERR_BASE64_BUFFER_TOO_SMALL -0x0010
-#define POLARSSL_ERR_BASE64_INVALID_CHARACTER -0x0012
+#define POLARSSL_ERR_BASE64_BUFFER_TOO_SMALL 0x0010
+#define POLARSSL_ERR_BASE64_INVALID_CHARACTER 0x0012
#ifdef __cplusplus
extern "C" {