mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
435 B
Plaintext
16 lines
435 B
Plaintext
$NetBSD: patch-src_args_cpp,v 1.3 2015/12/29 03:38:03 dholland Exp $
|
|
|
|
Cast away the const in a strstr call.
|
|
|
|
--- src/args.cpp.orig 2004-05-05 23:49:20.000000000 +0000
|
|
+++ src/args.cpp
|
|
@@ -102,7 +102,7 @@ bool ConsolePlayer::parseTime (const cha
|
|
if (*str == '\0')
|
|
return false;
|
|
|
|
- sep = strstr (str, ":");
|
|
+ sep = (char*) strstr (str, ":");
|
|
if (!sep)
|
|
{ // User gave seconds
|
|
_time = atoi (str);
|