bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Minor compiler warnings


From: Blake McBride
Subject: [Bug-apl] Minor compiler warnings
Date: Sun, 26 Jul 2015 22:10:49 -0500

Some minor compiler warnings I get on 64 bit Linux.


memory_benchmark.cc: In function ‘void multi(int, int, int64_t*)’:
memory_benchmark.cc:180:67: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘int64_t {aka long int}’ [-Wformat=]
            opname, total, (cores*(double)total)/LEN, opname, cores);
                                                                   ^
memory_benchmark.cc: In function ‘void sequential(int, int64_t*, bool)’:
memory_benchmark.cc:217:60: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘uint64_t {aka long unsigned int}’ [-Wformat=]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]