hexTo64l() should convert it to an unsigned value on Linux
This commit is contained in:
parent
72e480a870
commit
e718228a12
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ uint64_t TelldusCore::hexTo64l(const std::string data){
|
||||||
#elif defined(_MACOSX)
|
#elif defined(_MACOSX)
|
||||||
return strtoq(data.c_str(), NULL, 16);
|
return strtoq(data.c_str(), NULL, 16);
|
||||||
#else
|
#else
|
||||||
return strtol(data.c_str(), NULL, 16);
|
return strtoul(data.c_str(), NULL, 16);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue