diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-18 10:40:43 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-06-18 10:40:43 +0000 |
commit | 8aec53cacc4aa2d1818aef6063889d3d18dcf9c7 (patch) | |
tree | 40ea63841bf010a21221f2554402944000e2a7d4 /audio/mpc/files | |
parent | b253f67e18b8ffd341630ab521498b4254a569b9 (diff) | |
download | ports-8aec53cacc4aa2d1818aef6063889d3d18dcf9c7.tar.gz ports-8aec53cacc4aa2d1818aef6063889d3d18dcf9c7.zip |
Notes
Diffstat (limited to 'audio/mpc/files')
-rw-r--r-- | audio/mpc/files/patch-src-util.c::gcc295 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/mpc/files/patch-src-util.c::gcc295 b/audio/mpc/files/patch-src-util.c::gcc295 new file mode 100644 index 000000000000..7c2275170d8a --- /dev/null +++ b/audio/mpc/files/patch-src-util.c::gcc295 @@ -0,0 +1,19 @@ +--- src/util.c.orig Fri Jun 18 08:53:42 2004 ++++ src/util.c Fri Jun 18 08:53:58 2004 +@@ -125,13 +125,13 @@ + * the number in any other way for that matter */ + int parse_songnum(const char * str, int * ret) + { ++ int song; ++ char * endptr; ++ + if(!str) + return 0; + if(*str == '#') + str++; +- +- int song; +- char * endptr; + + song = strtol(str, &endptr, 10); + |