From: warped-rudi Date: Mon, 17 Sep 2012 15:22:00 +0000 (+0200) Subject: testclient: fixed vendor id always shown as zero X-Git-Tag: upstream/2.2.0~1^2~17^2~13^2~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9e66050f3a7e7c01cf8983d3162f101069254914;p=deb_libcec.git testclient: fixed vendor id always shown as zero --- diff --git a/src/testclient/main.cpp b/src/testclient/main.cpp index 84133a9..707d7d6 100644 --- a/src/testclient/main.cpp +++ b/src/testclient/main.cpp @@ -654,7 +654,7 @@ bool ProcessCommandVEN(ICECAdapter *parser, const string &command, string &argum if (iDev >= 0 && iDev < 15) { uint64_t iVendor = parser->GetDeviceVendorId((cec_logical_address) iDev); - PrintToStdOut("vendor id: %06x", iVendor); + PrintToStdOut("vendor id: %06llx", iVendor); return true; } }