pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/audio/darkice



On Sat, Feb 04, 2012 at 07:51:28AM +0000, Steven Drake wrote:
> Module Name:  pkgsrc
> Committed By: sbd
> Date:         Sat Feb  4 07:51:28 UTC 2012
> 
> Modified Files:
>       pkgsrc/audio/darkice: distinfo
> 
> Log Message:
> $NetBSD$
> 
> --- src/Util.cpp.orig 2005-04-17 10:58:09.000000000 +0000
> +++ src/Util.cpp
> @@ -288,7 +288,7 @@ Util :: fileAddDate ( const char * str )
>      strftime( strdate, 128, "[%m-%d-%Y-%H-%M-%S]", localtime (&now));
> 
>      // search for the part before the extension of the file name
> -    if ( !(last = strrchr( str, '.')) ) {
> +    if ( !(last = (char *) strrchr( str, '.')) ) {
>          last = (char *) str + strlen( str);
>      }

That looks wrong.

Joerg



Home | Main Index | Thread Index | Old Index