From ebee1379eaf4306eb2de9437844009aa7eb18c28 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Fri, 7 Nov 2014 16:28:19 -0800 Subject: Frameworks/base: Fix two warnings in cmds Change-Id: Ifb9c7fb7a2d28c13010ddc186bea5f5f0daefb4a --- cmds/idmap/create.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/idmap/create.cpp') diff --git a/cmds/idmap/create.cpp b/cmds/idmap/create.cpp index 28da3d6..7a501a4 100644 --- a/cmds/idmap/create.cpp +++ b/cmds/idmap/create.cpp @@ -78,7 +78,7 @@ fail: if (fstat(idmap_fd, &st) == -1) { return true; } - if (st.st_size < N) { + if (st.st_size < static_cast(N)) { // file is empty or corrupt return true; } -- cgit v1.1