Fix debug build failure on CentOS 6

The build failed due to a comparison between signed and unsigned integers.
This commit is contained in:
Markus Mäkelä
2018-01-11 17:19:52 +02:00
parent 14f1bbed51
commit f6f34ad7e5

View File

@ -180,7 +180,7 @@ int PamInstance::load_users(SERVICE* service)
"ON (u.user = t.user AND u.host = t.host) WHERE u.plugin = 'pam' "
"ORDER BY user";
#if defined(SS_DEBUG)
const int PAM_USERS_QUERY_NUM_FIELDS = 5;
const unsigned int PAM_USERS_QUERY_NUM_FIELDS = 5;
#endif
char *user, *pw;