[ovs-git] [openvswitch/ovs] f08422: perf-counter: Fix 32-bit build break due to incorr...
GitHub
noreply at github.com
Tue Apr 14 20:51:01 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: f084224a88aff7bb3ce15319874592a2d240ede6
https://github.com/openvswitch/ovs/commit/f084224a88aff7bb3ce15319874592a2d240ede6
Author: Ben Pfaff <blp at nicira.com>
Date: 2015-04-14 (Tue, 14 Apr 2015)
Changed paths:
M lib/perf-counter.c
Log Message:
-----------
perf-counter: Fix 32-bit build break due to incorrect printf specifiers.
Fixes the following warnings from GCC on 32-bit architectures:
../lib/perf-counter.c: In function 'perf_counter_to_ds':
../lib/perf-counter.c:119:19: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' [-Werror=format]
../lib/perf-counter.c:119:19: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' [-Werror=format]
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Andy Zhou <azhou at nicira.com>
More information about the git
mailing list