mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
8aec53cacc
PR: ports/68071 Submitted by: maintainer
20 lines
439 B
Plaintext
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);
|
|
|