bug-gnulib
[Top][All Lists]
Advanced

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

Re: parse_duration()


From: Bruno Haible
Subject: Re: parse_duration()
Date: Mon, 17 Nov 2008 13:05:03 +0100
User-agent: KMail/1.5.4

Bruce Korb wrote:
> I found my round tuit:  The problem with "char const" is that
> strtoul takes a "char **" as its second argument.  So it is
> rather a bother to recast a "char const **" address to "char **"
> all the time.

Yes, it is a bit of a problem. You can work around it by declaring the
pointer variable as 'char *' but nevertheless don't do write accesses through
it.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]