From 483d040ab46a5aa11795453a5c1b69d160b31180 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 12 Jun 2025 13:49:37 +0200 Subject: ostrace: Use void*/const void* and size_t --- tools/idevicesyslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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) } } -static void ostrace_syslog_callback(const unsigned char* buf, unsigned int len, void* user_data) +static void ostrace_syslog_callback(const void* buf, size_t len, void* user_data) { if (len < 0x81) { fprintf(stderr, "Error: not enough data in callback function?!\n"); -- cgit v1.1-32-gdbae