diff options
Diffstat (limited to 'libgammu/device/bluetooth/bluetooth.c')
-rw-r--r-- | libgammu/device/bluetooth/bluetooth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgammu/device/bluetooth/bluetooth.c b/libgammu/device/bluetooth/bluetooth.c index 8cbb384..ba390f9 100644 --- a/libgammu/device/bluetooth/bluetooth.c +++ b/libgammu/device/bluetooth/bluetooth.c @@ -129,12 +129,12 @@ done: } #ifndef OSX_BLUE_FOUND -int bluetooth_read(GSM_StateMachine *s, void *buf, size_t nbytes) +ssize_t bluetooth_read(GSM_StateMachine *s, void *buf, size_t nbytes) { return socket_read(s, buf, nbytes, s->Device.Data.BlueTooth.hPhone); } -int bluetooth_write(GSM_StateMachine *s, const void *buf, size_t nbytes) +ssize_t bluetooth_write(GSM_StateMachine *s, const void *buf, size_t nbytes) { return socket_write(s, buf, nbytes, s->Device.Data.BlueTooth.hPhone); } |