From 1f385ac1ab20a1d3735433f7b31b6b6280414596 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 1 Jun 2003 15:16:56 +0000 Subject: 2003-06-01 Marcus Brinkmann * src/gpg/error.h (gpg_error_t): Change type to unsigned int, not long. --- ChangeLog | 5 +++++ src/gpg/error.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8b92bcb..0fdd3c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-01 Marcus Brinkmann + + * src/gpg/error.h (gpg_error_t): Change type to unsigned int, not + long. + 2003-05-26 Marcus Brinkmann * 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) -- cgit v1.2.3