[ovs-git] Open vSwitch: tests: fix compile warning of tests/test-ovsdb.c (master)

dev at openvswitch.org dev at openvswitch.org
Mon May 17 16:49:02 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  ca247927bd5445e77391ffb98f713b2cd258c017 (commit)
       via  100e95db240fdea0e2b650e9fc1b59a962ae3847 (commit)
       via  6fce4487240b12104f3984e0bc36f9183e2fcccb (commit)
      from  85444c3f79f594c838d4b3e72ff27e263514f194 (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 ca247927bd5445e77391ffb98f713b2cd258c017
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ca247927bd5445e77391ffb98f713b2cd258c017
Author: Wei Yongjun <yjwei at cn.fujitsu.com>
		
tests: fix compile warning of tests/test-ovsdb.c
		
This patch fixed the following compile warning:

tests/test-ovsdb.c: In function 'do_evaluate_conditions':
tests/test-ovsdb.c:744: warning: format '%2d' expects type 'int', but argument 2 has type 'size_t'
tests/test-ovsdb.c: In function 'do_execute_mutations':
tests/test-ovsdb.c:850: warning: format '%2d' expects type 'int', but argument 2 has type 'size_t'
tests/test-ovsdb.c: In function 'do_query':
tests/test-ovsdb.c:972: warning: format '%2d' expects type 'int', but argument 2 has type 'size_t'
tests/test-ovsdb.c: In function 'do_query_distinct':
tests/test-ovsdb.c:1105: warning: format '%2d' expects type 'int', but argument 2 has type 'size_t'
tests/test-ovsdb.c: In function 'parse_uuids':
tests/test-ovsdb.c:1600: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'

Signed-off-by: Wei Yongjun <yjwei at cn.fujitsu.com>


commit 100e95db240fdea0e2b650e9fc1b59a962ae3847
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=100e95db240fdea0e2b650e9fc1b59a962ae3847
Author: Wei Yongjun <yjwei at cn.fujitsu.com>
		
ofproto: fix compile warning of ofproto/ofproto.c
		
This patch fixed the following compile warning:

ofproto/ofproto.c: In function 'handle_role_request':
ofproto/ofproto.c:3543: warning: format '%zu' expects type 'size_t', but argument 5 has type 'int'
ofproto/ofproto.c: In function 'handle_vendor':
ofproto/ofproto.c:3593: warning: format '%zu' expects type 'size_t', but argument 5 has type 'int'
ofproto/ofproto.c:3602: warning: format '%zu' expects type 'size_t', but argument 5 has type 'int'

Signed-off-by: Wei Yongjun <yjwei at cn.fujitsu.com>


commit 6fce4487240b12104f3984e0bc36f9183e2fcccb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6fce4487240b12104f3984e0bc36f9183e2fcccb
Author: Wei Yongjun <yjwei at cn.fujitsu.com>
		
ovsdb-idl: fix compile warning of lib/ovsdb-idl.c
		
This patch fixed the following compile warning:

lib/ovsdb-idl.c: In function 'ovsdb_idl_txn_process_inc_reply':
lib/ovsdb-idl.c:1524: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'size_t'
lib/ovsdb-idl.c:1538: warning: format '%ld' expects type 'long int', but argument 5 has type 'long long int'
lib/ovsdb-idl.c:1550: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'size_t'
lib/ovsdb-idl.c: In function 'ovsdb_idl_txn_process_insert_reply':
lib/ovsdb-idl.c:1579: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'size_t'

Signed-off-by: Wei Yongjun <yjwei at cn.fujitsu.com>


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

Summary of changes:
 lib/ovsdb-idl.c    |    8 ++++----
 ofproto/ofproto.c  |    6 +++---
 tests/test-ovsdb.c |   10 +++++-----
 3 files changed, 12 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list