diff options
author | Marcus Brinkmann <[email protected]> | 2003-07-31 15:44:02 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2003-07-31 15:44:02 +0000 |
commit | f4c25d034c0c61edec0893cb23374f499853dd7c (patch) | |
tree | 097c73a94fcdffb83ffffef65039d62bd3126de3 /gpgme/wait-user.c | |
parent | 2003-07-30 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-f4c25d034c0c61edec0893cb23374f499853dd7c.tar.gz gpgme-f4c25d034c0c61edec0893cb23374f499853dd7c.zip |
2003-07-31 Marcus Brinkmann <[email protected]>
* util.h (_gpgme_decode_c_string): Change type of LEN argument to
size_t.
(_gpgme_decode_percent_string): Likewise.
* conversion.c (_gpgme_decode_c_string): Likewise.
(_gpgme_decode_percent_string): Likewise.
(_gpgme_map_gnupg_error): Change type of I to unsigned int.
* signers.c (gpgme_signers_clear): Likewise.
(gpgme_signers_enum): New unsigned variable SEQNO, set to SEQ.
Use SEQNO instead SEQ.
* wait.c (fd_table_put): Change type of I and J to unsigned int.
* wait-global.c (_gpgme_wait_global_event_cb): Change type of IDX
to unsigned int.
(gpgme_wait): Change type of I and IDX to unsigned int.
* wait-private.c (_gpgme_wait_on_condition): Change type of IDX
and I to unsigned int.
* posix-io.c (_gpgme_io_close): Cast return value of macro DIM to
int to suppress gcc warning.
(_gpgme_io_set_close_notify): Likewise.
(_gpgme_io_select): Change type of I to unsigned int.
* engine.c (gpgme_get_engine_info): Change type of PROTO to
unsigned int.
* wait-user.c (_gpgme_user_io_cb_handler): Change type of IDX and
I to unsigned int.
Diffstat (limited to '')
-rw-r--r-- | gpgme/wait-user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpgme/wait-user.c b/gpgme/wait-user.c index 1ea3db03..1fbe9cb2 100644 --- a/gpgme/wait-user.c +++ b/gpgme/wait-user.c @@ -52,7 +52,7 @@ _gpgme_user_io_cb_handler (void *data, int fd) err = (*item->handler) (item->handler_value, fd); if (err) { - int idx; + unsigned int idx; for (idx = 0; idx < ctx->fdt.size; idx++) if (ctx->fdt.fds[idx].fd != -1) @@ -61,7 +61,7 @@ _gpgme_user_io_cb_handler (void *data, int fd) } else { - int i; + unsigned int i; for (i = 0; i < ctx->fdt.size; i++) if (ctx->fdt.fds[i].fd != -1) |