[Top][All Lists]
[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
- parse_time(), Bruce Korb, 2008/11/01
- Re: parse_time(), Bruno Haible, 2008/11/02
- Re: parse_time(), Bruce Korb, 2008/11/02
- Re: parse_time(), Bruno Haible, 2008/11/02
- Re: parse_duration(), Bruce Korb, 2008/11/02
- Re: parse_duration(), Bruno Haible, 2008/11/03
- Re: parse_duration(), Bruce Korb, 2008/11/04
- Re: parse_duration(), Bruno Haible, 2008/11/05
- Re: parse_duration(), Bruce Korb, 2008/11/05
- Re: parse_duration(), Bruce Korb, 2008/11/16
- Re: parse_duration(),
Bruno Haible <=
Re: parse_time(), Bruce Korb, 2008/11/02