Bruce Korb wrote:
Bruno Haible wrote:

For this context, the right, proper and easiest solution is to say that
months are 30 days and leave it at that.

Hi Bruno,

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.  Maybe I ought to just wrap "strtoul" in a macro
#define strconsttoul(_s, _sp, _b)  strtoul((_s), (char **)(_sp), (_b))
but normally it is just easier to not mess with const chars.
Anyway, I'll add that #define "fairly soon".  Thanks - Bruce


Reply via email to