ovsdb-idlc: Fix warning in generated code.
authorBen Pfaff <blp@nicira.com>
Thu, 17 Jun 2010 22:24:54 +0000 (15:24 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 17 Jun 2010 22:27:41 +0000 (15:27 -0700)
commit2494792030407246661aac94299ad52b244f9298
treea79001bcbb362192c8d2916ebce4b5eb12eb9fda
parent7894d33b258ed848d13172fdbbc60ee4db59aa3a
ovsdb-idlc: Fix warning in generated code.

Without this fix, ovsdb-idlc generates the following line of code:
    c->type.key.u.integer.max = 4294967295;
which causes GCC to issue this warning:
    this decimal constant is unsigned only in ISO C90

This commit changes the generated code to:
    c->type.key.u.integer.max = INT64_C(4294967295);
which eliminates the warning.
ovsdb/OVSDB.py