]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
utils: sbuf - use correct format character, fixes #5565
authorJaroslav Kysela <perex@perex.cz>
Thu, 7 Mar 2019 07:23:13 +0000 (08:23 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 7 Mar 2019 07:23:13 +0000 (08:23 +0100)
src/utils.c

index 673824e2d6693d04dc4c035e214dc752b365f93e..a23ef2524db5a55eeaca3002f11c2ed7fd24e87c 100644 (file)
@@ -361,7 +361,7 @@ char *utf8_validate_inplace(char *s)
 static void
 sbuf_alloc_fail(size_t len)
 {
-  fprintf(stderr, "Unable to allocate %jd bytes\n", len);
+  fprintf(stderr, "Unable to allocate %zd bytes\n", len);
   abort();
 }