This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
aimage/aimage-3.2.1.gcc44.patch
Nicolas Chauvet 570735b342 Update to 3.2.1
2009-09-02 10:11:24 +00:00

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);