cfm: Fix GCC warning.
authorBen Pfaff <blp@nicira.com>
Tue, 30 Nov 2010 01:09:53 +0000 (17:09 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 30 Nov 2010 01:09:53 +0000 (17:09 -0800)
commite7fc1e71a2d7c923335bfdfb3cc7c223936aee38
treee92a4a3721391a81f9bc328697825055755cbe33
parent6a1a794c3ba537b24e4c9b7db6b399ad88f02bda
cfm: Fix GCC warning.

On 32-bit platforms GCC warns:
../lib/cfm.c: In function 'compose_ccm':
../lib/cfm.c:130: warning: integer constant is too large for 'long' type
../lib/cfm.c: In function 'cfm_should_process_flow':
../lib/cfm.c:375: warning: integer constant is too large for 'long' type

This fixes the problem by using the UINT64_C macro from <inttypes.h> to
write a 64-constant.
lib/cfm.c