diff options
author | 2025-06-12 13:49:37 +0200 | |
---|---|---|
committer | 2025-06-12 13:49:37 +0200 | |
commit | 483d040ab46a5aa11795453a5c1b69d160b31180 (patch) | |
tree | dbca6918cfd48eb783b0be3b03340724bdda202f /tools | |
parent | 3bf294f149594b61aaa6dace57628c924af2f501 (diff) | |
download | libimobiledevice-483d040ab46a5aa11795453a5c1b69d160b31180.tar.gz libimobiledevice-483d040ab46a5aa11795453a5c1b69d160b31180.tar.bz2 |
ostrace: Use void*/const void* and size_t
Diffstat (limited to 'tools')
-rw-r--r-- | tools/idevicesyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c index 65a613b..5ecd0ad 100644 --- a/tools/idevicesyslog.c +++ b/tools/idevicesyslog.c | |||
@@ -376,7 +376,7 @@ static void syslog_callback(char c, void *user_data) | |||
376 | } | 376 | } |
377 | } | 377 | } |
378 | 378 | ||
379 | static void ostrace_syslog_callback(const unsigned char* buf, unsigned int len, void* user_data) | 379 | static void ostrace_syslog_callback(const void* buf, size_t len, void* user_data) |
380 | { | 380 | { |
381 | if (len < 0x81) { | 381 | if (len < 0x81) { |
382 | fprintf(stderr, "Error: not enough data in callback function?!\n"); | 382 | fprintf(stderr, "Error: not enough data in callback function?!\n"); |