1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/audio/mpc/files/patch-src-util.c::gcc295
Kirill Ponomarev 8aec53cacc Update to version 0.11.0
PR:		ports/68071
Submitted by:	maintainer
2004-06-18 10:40:43 +00:00

20 lines
439 B
Plaintext

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