Yes, this is a 'ldiv' problem.
Will fix it shortly.
~d
On Sunday 13 October 2002 18:39, Gus Mercer wrote:
> I'm having a problem with strtoul(), it only
> returns zero which indicates an error.
>
> Code example:
> void foooo(void)
> {
> unsigned long int i;
>
> i = (unsigned long int)strtoul("70000", NULL, 10);
> sprintf(debugBuffer,"%ld,%ld,%ld,%ld\r\n",
> i,
> atol("80000"),
> strtoul("8000", NULL, 10),
> strtoul("88000", NULL, 10));
> return (0);
> }
>
> debugBuffer = "0,0,0,858980352<cr><lf>"
>
>
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
--
/********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
********************************************************************/