evas generic loader ps - fix warning about printf format mismatch type
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 11 Feb 2017 13:41:22 +0000 (22:41 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 11 Feb 2017 15:29:50 +0000 (00:29 +0900)
it's right. types are uint but format exects unsigned long. fix.

src/generic/evas/ps/main.c

index d069e77..6fdd74c 100644 (file)
@@ -280,7 +280,8 @@ main(int argc, char **argv)
                {
                   // nothing much to do, the receiver will simply ignore the
                   // data as it's too short
-                  D("fwrite failed (%lu bytes): %m\n", width * height * sizeof(DATA32));
+                  D("fwrite failed (%llu bytes): %m\n",
+                    (unsigned long long)(width * height * sizeof(DATA32)));
                }
           }
         shm_free();