Fix warnings on 64 bits
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 4 Dec 2013 19:58:15 +0000 (17:58 -0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 4 Dec 2013 20:00:30 +0000 (18:00 -0200)
commita899da6d178af550e380477182e447bebce77ff0
tree1abce75011fb388f7f9aa855058bf56ed6a23ae0
parent2689ce571b05bd619325bb545091a4ec6c9f8897
Fix warnings on 64 bits

Use the glib-provided macros to print 64 bit values.

lightmediascannerd.c:212:9: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ [-Wformat=]
         g_warning("Couldn't bind delete old dtime '%lld'from %s: %s",

lightmediascannerctl.c:280:16: warning: format ‘%llu’ expects argument
of type ‘long long unsigned int’, but argument 4 has type ‘guint64’
[-Wformat=]
                category, path, uptodate, processed, deleted, skipped,
errors);
src/bin/lightmediascannerctl.c
src/bin/lightmediascannerd.c