diff options
Diffstat (limited to 'logcat/logcat.cpp')
-rw-r--r-- | logcat/logcat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index d44c679..4c6139c 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp @@ -298,7 +298,7 @@ static void readLogLines(log_device_t* devices) } else if (entry->entry.len != ret - sizeof(struct logger_entry)) { fprintf(stderr, "read: unexpected length. Expected %d, got %d\n", - entry->entry.len, ret - sizeof(struct logger_entry)); + entry->entry.len, ret - (int) sizeof(struct logger_entry)); exit(EXIT_FAILURE); } |