SICS compiles under RHEL7

This commit is contained in:
2017-01-13 15:43:39 +01:00
parent 2673bb3b6d
commit 2670bafe53
7 changed files with 56 additions and 7 deletions

View File

@ -559,7 +559,7 @@ char * DevList(DevSer * devser) {
DynStringConcat(result, str);
free(str);
} else {
snprintf(text, sizeof text, "%8.8x", (unsigned int)action->data);
snprintf(text, sizeof text, "%8.8lx", (unsigned long)action->data);
DynStringConcat(result, text);
}
DynStringConcat(result, "\n");