Skip to content

Commit 86f34eb

Browse files
committed
fix compiler warning
1 parent 0abbc74 commit 86f34eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GLFW.xs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ PREINIT:
17051705
int errcode;
17061706
char* description;
17071707
PPCODE:
1708-
errcode = glfwGetError(&description);
1708+
errcode = glfwGetError((const char**)&description);
17091709
EXTEND(SP, 2);
17101710
PUSHs(sv_2mortal(newSViv(errcode)));
17111711
PUSHs(!description ? &PL_sv_undef : sv_2mortal(newSVpv(description, 0)));

0 commit comments

Comments
 (0)