pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/audio/py-id3lib

On Tue, 07 Feb 2012 12:51:55 +0900, Steven Drake <> 

On Mon, 6 Feb 2012, Joerg Sonnenberger wrote:

On Sun, Feb 05, 2012 at 10:27:09PM +0000, Steven Drake wrote:
> Module Name:       pkgsrc
> Committed By:      sbd
> Date:              Sun Feb  5 22:27:09 UTC 2012
> Modified Files:
>    pkgsrc/audio/py-id3lib: distinfo
>    pkgsrc/audio/py-id3lib/patches: patch-aa
> Log Message:
> Add a cast to a strchr call.

You ignored my question the last time,

Sorry, I thought your question last time was about the weird log message.

but this doesn't make sense.

The error that I fixed was:

mac.cpp:48:35: error: invalid conversion from 'const char*' to 'char*'

After some research its because the c++ prototype for strchr is:

const char *strchr( const char *str, int ch );
      char *strchr(       char *str, int ch );

For this case, definition of `slash' should be changed instead,
from `char*' to `const char*'.

OBATA Akio /

Home | Main Index | Thread Index | Old Index