patches/mplayerplugin-03-strstr.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 1 60fdac847787
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name

diff -ur mplayerplug-in-orig/Source/plugin-list.cpp mplayerplug-in/Source/plugin-list.cpp
--- mplayerplug-in-orig/Source/plugin-list.cpp	2006-02-25 01:47:18.000000000 +0700
+++ mplayerplug-in/Source/plugin-list.cpp	2006-05-08 18:16:08.128786284 +0700
@@ -137,8 +137,8 @@
     char tagtarget[128];
     char tagurl[1024];
 
-    endvideo = strstr(smilbuffer, "</video");
-    startarea = strstr(smilbuffer, "<area");
+    endvideo = strstr((char *)smilbuffer, "</video");
+    startarea = strstr((char *)smilbuffer, "<area");
 
     while (startarea && startarea < endvideo) {
 	start = strstr(startarea + 5, "begin=");