this fixes the warning

This commit is contained in:
Robin Müller 2022-02-02 19:47:58 +01:00
parent 992c05df56
commit 8030d9ac1b
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -63,7 +63,7 @@ ReturnValue_t UioMapper::getMapSize(size_t* size) {
#endif
return HasReturnvaluesIF::RETURN_FAILED;
}
items = sscanf(hexstring, "%x", size);
items = sscanf(hexstring, "%lx", size);
if (items != 1) {
#if FSFW_CPP_OSTREAM_ENABLED == 1
sif::warning << "UioMapper::getMapSize: Failed with error code " << errno << "to convert "