repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec: replaced a load of magic numbers
[deb_libcec.git]
/
src
/
testclient
/
main.cpp
diff --git
a/src/testclient/main.cpp
b/src/testclient/main.cpp
index 58994531bf8d1f7d28708fd679f5f5d01b26cb76..65e99bcd95ee40927c195a491277bc8ca5c56005 100644
(file)
--- a/
src/testclient/main.cpp
+++ b/
src/testclient/main.cpp
@@
-322,7
+322,7
@@
bool ProcessCommandSP(ICECAdapter *parser, const string &command, string &argume
if (GetWord(arguments, strAddress))
{
sscanf(strAddress.c_str(), "%x", &iAddress);
- if (iAddress >= 0 && iAddress <=
0xFFFF
)
+ if (iAddress >= 0 && iAddress <=
CEC_INVALID_PHYSICAL_ADDRESS
)
parser->SetStreamPath((uint16_t)iAddress);
return true;
}