aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/gpg/error.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b92bcb..0fdd3c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-01 Marcus Brinkmann <[email protected]>
+
+ * src/gpg/error.h (gpg_error_t): Change type to unsigned int, not
+ long.
+
2003-05-26 Marcus Brinkmann <[email protected]>
* src/gpg/error.h (gpg_make_error): Only OR in the error source if
diff --git a/src/gpg/error.h b/src/gpg/error.h
index 3507451..1d75a2b 100644
--- a/src/gpg/error.h
+++ b/src/gpg/error.h
@@ -226,7 +226,7 @@ typedef enum
structs as return values can cause binary compatibility issues, in
particular if you want to do it effeciently (also see
-freg-struct-return option to GCC). */
-typedef unsigned long gpg_error_t;
+typedef unsigned int gpg_error_t;
/* We use the lowest 16 bits of gpg_error_t for error codes. */
#define GPG_ERR_CODE_MASK (GPG_ERR_CODE_DIM - 1)