Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc23ebf3 authored by Daniele Di Proietto's avatar Daniele Di Proietto Committed by Jesse Gross
Browse files

openvswitch: Added (unsigned long long) cast in printf



This is necessary, since u64 is not unsigned long long
in all architectures: u64 could be also uint64_t.

Signed-off-by: default avatarDaniele Di Proietto <daniele.di.proietto@gmail.com>
Signed-off-by: default avatarJesse Gross <jesse@nicira.com>
parent 07dc0602
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -216,14 +216,14 @@ static bool match_validate(const struct sw_flow_match *match,
	if ((key_attrs & key_expected) != key_expected) {
		/* Key attributes check failed. */
		OVS_NLERR("Missing expected key attributes (key_attrs=%llx, expected=%llx).\n",
				key_attrs, key_expected);
				(unsigned long long)key_attrs, (unsigned long long)key_expected);
		return false;
	}

	if ((mask_attrs & mask_allowed) != mask_attrs) {
		/* Mask attributes check failed. */
		OVS_NLERR("Contain more than allowed mask fields (mask_attrs=%llx, mask_allowed=%llx).\n",
				mask_attrs, mask_allowed);
				(unsigned long long)mask_attrs, (unsigned long long)mask_allowed);
		return false;
	}