[vorbis-dev] ogg123 -k 1:59 patch.ogg # minutes and seconds

Segher Boessenkool segher at koffie.nl
Fri Mar 7 15:58:43 PST 2003



Hans Schou wrote:
> On Tue, 4 Mar 2003, Segher Boessenkool wrote:
> 
>>Hans Schou wrote:
>>
>>>Thanks! It should not be 'const',
>>>otherwise it is fine.
>>
>>Just curious: why does 'const' not work?
> 
> gcc did not like it - there was an error.
> 
> minsec.c:9: warning: passing arg 2 of `strtod' from incompatible 
> pointer type

Ah yes, I see: the C standard actually defines it as a
"char ** restrict".  They could have made it const,
but that's not my problem; let's just obey this time :)

<p>Thanks,

Segher

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list