Skip to content

Commit 59961df

Browse files
committed
placate strlen about signedness, as it only needs to find \0
1 parent b94387e commit 59961df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pogl_glut.xs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ glutBitmapString(font, string)
13101310
glutBitmapString(font, string);
13111311
#else
13121312
int len, i;
1313-
len = (int) strlen(string);
1313+
len = (int) strlen((char *)string);
13141314
for (i = 0; i < len; i++) {
13151315
glutBitmapCharacter(font, string[i]);
13161316
}

0 commit comments

Comments
 (0)