diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2015-04-01 17:53:41 +0100 |
---|---|---|
committer | Sami Tolvanen <samitolvanen@google.com> | 2015-04-01 17:56:18 +0100 |
commit | 5b97aa64cbccf496b78f6184990e74552e85e3ae (patch) | |
tree | 2b491a2281f614bdadc40bcf33b4d04e928c03e9 /slideshow | |
parent | b7f56ac0176ae78e083bc8f95081b0befe2b17a2 (diff) | |
download | extras-5b97aa64cbccf496b78f6184990e74552e85e3ae.tar.gz |
slideshow: fix format string type
Format string specifies %u, even though long int is passed.
Change-Id: I541c15552e403e16bef7a78f53d81eaacb605120
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/slideshow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |