this fixes the warning

This commit is contained in:
muellerr committed 2022-02-02 19:47:58 +01:00
1 parent 992c05df56
commit 8030d9ac1b
1 file changed
+1 -1
+1 -1
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 "