From 5b97aa64cbccf496b78f6184990e74552e85e3ae Mon Sep 17 00:00:00 2001 From: Sami Tolvanen Date: Wed, 1 Apr 2015 17:53:41 +0100 Subject: [PATCH] slideshow: fix format string type Format string specifies %u, even though long int is passed. Change-Id: I541c15552e403e16bef7a78f53d81eaacb605120 --- slideshow/slideshow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slideshow/slideshow.cpp b/slideshow/slideshow.cpp index 25a22062..c015d530 100644 --- a/slideshow/slideshow.cpp +++ b/slideshow/slideshow.cpp @@ -94,7 +94,7 @@ int main(int argc, char **argv) if (timeout < 0 || timeout >= LONG_MAX) { timeout = NEXT_TIMEOUT_MS; - LOGE("invalid timeout %s, defaulting to %u\n", optarg, + LOGE("invalid timeout %s, defaulting to %ld\n", optarg, timeout); } break; -- 2.11.0