12 lines
484 B
Diff
12 lines
484 B
Diff
diff -up aimage-3.2.1/src/ident.cpp.gcc44 aimage-3.2.1/src/ident.cpp
|
|
--- aimage-3.2.1/src/ident.cpp.gcc44 2009-09-02 11:54:51.199071082 +0200
|
|
+++ aimage-3.2.1/src/ident.cpp 2009-09-02 11:56:43.164073238 +0200
|
|
@@ -126,7 +126,7 @@ char *getfileline(const char *dirname,co
|
|
*/
|
|
void getresult(const char *buf,const char *str,char **res)
|
|
{
|
|
- char *pos = strstr(buf,str);
|
|
+ const char *pos = strstr(buf,str);
|
|
if(!pos) return;
|
|
pos += strlen(str);
|
|
*res = strdup(pos);
|