PKGBUILDs/extra/snes9x/snes9x-1.51-glibc2.10.patch

14 lines
295 B
Diff
Raw Normal View History

2009-10-10 02:23:22 +00:00
--- unix/unix.cpp
+++ unix/unix.cpp
@@ -1162,8 +1162,8 @@
{
*drive = 0;
- char *slash = strrchr(path, SLASH_CHAR);
- char *dot = strrchr(path, '.');
+ char *slash = strrchr((char *)path, SLASH_CHAR);
+ char *dot = strrchr((char *)path, '.');
if (dot && slash && dot < slash)
{