diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-11-12 15:53:11 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-11-12 15:53:11 +0100 |
commit | e57457361c2ea9038e1b81e8cd28c1a1237d6fb9 (patch) | |
tree | 614af7c8a22bfe42dd01e12f12a57fd5531e0bdd /src/libwaitress/waitress.h | |
parent | 826f08af2e010c30063cbb29dc529cb8992b6b86 (diff) | |
download | pianobar-e57457361c2ea9038e1b81e8cd28c1a1237d6fb9.tar.gz pianobar-e57457361c2ea9038e1b81e8cd28c1a1237d6fb9.tar.bz2 pianobar-e57457361c2ea9038e1b81e8cd28c1a1237d6fb9.zip |
waitress: Fix compiler warnings
Diffstat (limited to 'src/libwaitress/waitress.h')
-rw-r--r-- | src/libwaitress/waitress.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libwaitress/waitress.h b/src/libwaitress/waitress.h index 7e4401a..b489e86 100644 --- a/src/libwaitress/waitress.h +++ b/src/libwaitress/waitress.h @@ -101,10 +101,10 @@ typedef struct { int sockfd; char *buf; gnutls_session_t tlsSession; - /* first argument is WaitressHandle_t, but that's not defined here */ + /* first argument is WaitressHandle_t, but that's not defined yet */ WaitressHandlerReturn_t (*dataHandler) (void *, char *, const size_t); - ssize_t (*read) (void *, char *, const size_t, ssize_t *); - ssize_t (*write) (void *, const char *, const size_t); + WaitressReturn_t (*read) (void *, char *, const size_t, ssize_t *); + WaitressReturn_t (*write) (void *, const char *, const size_t); /* temporary return value storage */ WaitressReturn_t readWriteRet; } request; |