aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_huawei.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_huawei.c')
-rw-r--r--plugin_huawei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_huawei.c b/plugin_huawei.c
index 9a64bda..fbcf503 100644
--- a/plugin_huawei.c
+++ b/plugin_huawei.c
@@ -439,7 +439,7 @@ static char *huawei_receive(void)
/* print bytes read and buffer data when debuging enabled */
if (debug)
- debug("DEBUG: ->Received bytes=%i, receive buf=%s", strlen(buf), buf);
+ debug("DEBUG: ->Received bytes=%i, receive buf=%s", (int) strlen(buf), buf);
return (buf);
}