summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2009-01-27 01:34:34 +0000
committersamr7 <samr7@126591fb-c623-4b62-a76d-97a8e4f34109>2009-01-27 01:34:34 +0000
commit91e03cf7600cb77ee630614ca7e9813d11398c3a (patch)
treec4ad1a0a999f86dee034392f97dc97654458c5a8
parent470fb1b9c218d48b8a11250cca5ec4f6241ebfce (diff)
downloadnohands-91e03cf7600cb77ee630614ca7e9813d11398c3a.tar.gz
Fix a printf warning.
git-svn-id: http://nohands.svn.sourceforge.net/svnroot/nohands/trunk@84 126591fb-c623-4b62-a76d-97a8e4f34109
-rw-r--r--libhfp/rfcomm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhfp/rfcomm.cpp b/libhfp/rfcomm.cpp
index 0a6b5c8..e70d354 100644
--- a/libhfp/rfcomm.cpp
+++ b/libhfp/rfcomm.cpp
@@ -960,7 +960,7 @@ RfcommSend(const uint8_t *buf, size_t len, ErrorInfo *error)
GetDi()->LogWarn(&local_error,
LIBHFP_ERROR_SUBSYS_BT,
LIBHFP_ERROR_BT_SYSCALL,
- "Short write: expected:%d sent:%d",
+ "Short write: expected:%zd sent:%zd",
len, rl);
if (error)
*error = local_error;