diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-01-26 11:29:57 -0800 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-01-26 11:29:57 -0800 |
commit | 66978103a6a0f7a8ca48fd4b31eeb25bc6b985d4 (patch) | |
tree | 13bf967f84cdeac0ed2a0145955cc2978cb52098 /include | |
parent | d0e74f8bcc986b3b4c9a351502f0500021e394cf (diff) |
libwimaxll: fix wimaxll_recv() mismatched return value declaration and printf format
Fix to bug http://linuxwimax.org/bugzilla/show_bug.cgi?id=2 reported
by Paul Donohue.
Undetected mistmatches in wimaxll_recv():
- declared and defined return types
- print format
caught by a 64-bit build.
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/wimaxll.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wimaxll.h b/include/wimaxll.h index fe3275d..97d11f9 100644 --- a/include/wimaxll.h +++ b/include/wimaxll.h @@ -309,7 +309,7 @@ const char *wimaxll_ifname(const struct wimaxll_handle *); /* Wait for data from the kernel, execute callbacks */ int wimaxll_recv_fd(struct wimaxll_handle *); -int wimaxll_recv(struct wimaxll_handle *); +ssize_t wimaxll_recv(struct wimaxll_handle *); /* Default (bidirectional) message pipe from the kernel */ ssize_t wimaxll_msg_write(struct wimaxll_handle *, const char *, |