diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-12-01 16:15:54 +0100 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-12-01 16:15:54 +0100 |
commit | 48b719cf68db72f77a650e235ffa87bdd925ed6b (patch) | |
tree | f8da1e5252c785b5e7f372252028f1a6875b9fc8 /include/libssh/callbacks.h | |
parent | 96afa4530c98447d1d8a8971da8cc84168983e81 (diff) | |
download | libssh-48b719cf68db72f77a650e235ffa87bdd925ed6b.tar.gz libssh-48b719cf68db72f77a650e235ffa87bdd925ed6b.tar.xz libssh-48b719cf68db72f77a650e235ffa87bdd925ed6b.zip |
Fixed uint* to work on Windows.
Thanks to Patrick Spendrin.
Diffstat (limited to 'include/libssh/callbacks.h')
-rw-r--r-- | include/libssh/callbacks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/callbacks.h b/include/libssh/callbacks.h index c7a9e3cf..af821409 100644 --- a/include/libssh/callbacks.h +++ b/include/libssh/callbacks.h @@ -169,9 +169,9 @@ typedef int (*ssh_packet_callback) (ssh_session session, uint8_t type, ssh_buffe struct ssh_packet_callbacks_struct { /** Index of the first packet type being handled */ - u_int8_t start; + uint8_t start; /** Number of packets being handled by this callback struct */ - u_int8_t n_callbacks; + uint8_t n_callbacks; /** A pointer to n_callbacks packet callbacks */ ssh_packet_callback *callbacks; void *user; |