[ovs-git] Open vSwitch: ovsdb-idlc: Fix warning in generated code. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jun 18 16:40:18 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  2494792030407246661aac94299ad52b244f9298 (commit)
      from  7894d33b258ed848d13172fdbbc60ee4db59aa3a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2494792030407246661aac94299ad52b244f9298
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2494792030407246661aac94299ad52b244f9298
Author: Ben Pfaff <blp at nicira.com>
		
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.


-----------------------------------------------------------------------

Summary of changes:
 ovsdb/OVSDB.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list