Skip to content

Commit 4c7b05f

Browse files
committed
jimp: fix compilation on clang
1 parent f1eeaa6 commit 4c7b05f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jimp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,11 @@ static bool jimp__get_token(Jimp *jimp)
237237
jimp->token = JIMP_STRING;
238238
return true;
239239
}
240-
default:
240+
default: {
241241
char x = *jimp->point++;
242242
jimp__append_to_string(jimp, x);
243243
}
244+
}
244245
}
245246
jimp->token = JIMP_INVALID;
246247
jimp_diagf(jimp, "ERROR: unfinished string\n");

0 commit comments

Comments
 (0)