summaryrefslogtreecommitdiff
path: root/src/libwaitress/waitress.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-11-13 17:04:37 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-11-13 17:16:21 +0100
commit28f2ad12316f73eef454fb3cde5ea06a69b9e778 (patch)
treed9dcc59a51704c3f2be1c954b065dbd2fe4c45a0 /src/libwaitress/waitress.h
parentcc4fe9fe07a7bee817be8402cfbd3b082360b9f9 (diff)
downloadpianobar-28f2ad12316f73eef454fb3cde5ea06a69b9e778.tar.gz
pianobar-28f2ad12316f73eef454fb3cde5ea06a69b9e778.tar.bz2
pianobar-28f2ad12316f73eef454fb3cde5ea06a69b9e778.zip
waitress: Fix ssize_t/size_t confusion
Diffstat (limited to 'src/libwaitress/waitress.h')
-rw-r--r--src/libwaitress/waitress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwaitress/waitress.h b/src/libwaitress/waitress.h
index b489e86..b988591 100644
--- a/src/libwaitress/waitress.h
+++ b/src/libwaitress/waitress.h
@@ -103,7 +103,7 @@ typedef struct {
gnutls_session_t tlsSession;
/* first argument is WaitressHandle_t, but that's not defined yet */
WaitressHandlerReturn_t (*dataHandler) (void *, char *, const size_t);
- WaitressReturn_t (*read) (void *, char *, const size_t, ssize_t *);
+ WaitressReturn_t (*read) (void *, char *, const size_t, size_t *);
WaitressReturn_t (*write) (void *, const char *, const size_t);
/* temporary return value storage */
WaitressReturn_t readWriteRet;