Skip to content

Commit

Permalink
fix compilation with gcc 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Feb 2, 2016
1 parent 4ecc4c0 commit ab67ef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/auth/gssapi_errmsg.c
Expand Up @@ -38,8 +38,8 @@ void gssapi_errmsg(OM_uint32 major, OM_uint32 minor, char *buf, size_t size)
char *p= buf;
char *end= buf + size - 1;
int types[] = {GSS_C_GSS_CODE,GSS_C_MECH_CODE};

for(int i= 0; i < 2;i++)
int i;
for(i= 0; i < 2;i++)
{
message_context= 0;
status_code= types[i] == GSS_C_GSS_CODE?major:minor;
Expand Down

0 comments on commit ab67ef2

Please sign in to comment.