aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpg/error.h')
-rw-r--r--src/gpg/error.h2
1 files changed, 1 insertions, 1 deletions
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)