aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-06-01 15:16:56 +0000
committerMarcus Brinkmann <[email protected]>2003-06-01 15:16:56 +0000
commit1f385ac1ab20a1d3735433f7b31b6b6280414596 (patch)
treed8c6b2ba875df6fc18d38764d0daccbd435072d8
parentAdd essential comment. (diff)
downloadlibgpg-error-1f385ac1ab20a1d3735433f7b31b6b6280414596.tar.gz
libgpg-error-1f385ac1ab20a1d3735433f7b31b6b6280414596.zip
2003-06-01 Marcus Brinkmann <[email protected]>
* src/gpg/error.h (gpg_error_t): Change type to unsigned int, not long.
-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)