Skip to content

Commit 6e006af

Browse files
committed
Fixes some PRIsz -> PRIu64.
1 parent 6529c13 commit 6e006af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils_cmd_getthreshold.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ int handle_getthreshold(FILE *fh, char *buffer) {
151151
i++;
152152

153153
/* Print the response */
154-
print_to_socket(fh, "%" PRIsz " Threshold found\n", i);
154+
print_to_socket(fh, "%" PRIu64 " Threshold found\n", i);
155155

156156
if (threshold.host[0] != 0)
157157
print_to_socket(fh, "Host: %s\n", threshold.host);

src/utils_cmd_getval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ cmd_status_t cmd_handle_getval(FILE *fh, char *buffer) {
140140
return CMD_ERROR;
141141
}
142142

143-
print_to_socket(fh, "%" PRIsz " Value%s found\n", values_num,
143+
print_to_socket(fh, "%" PRIu64 " Value%s found\n", values_num,
144144
(values_num == 1) ? "" : "s");
145145
for (size_t i = 0; i < values_num; i++) {
146146
print_to_socket(fh, "%s=", ds->ds[i].name);

0 commit comments

Comments
 (0)