diff --git a/src/utils/remote.c b/src/utils/remote.c index f4330602..11844b4a 100644 --- a/src/utils/remote.c +++ b/src/utils/remote.c @@ -83,7 +83,7 @@ static void kill_child(void) static void print_message(char const* buf) { char const* const severity[] = {"VERBOSE", "LOG", "INFO", "NOTICE", "WARNING", "FATAL", "ERROR", ""}; - size_t i; + int i; for (i = 0; strncmp(buf, severity[i], strlen(severity[i])) != 0; i++); if (i + VERBOSE > ERROR) { elog(LOG, "%s", buf);