tech-userlevel archive

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

Re: swscanf() causing Memory Fault



On Sun, Nov 16, 2008 at 4:57 PM, James K. Lowden
>> +     (void)memset(WCIO_GET(&f), 0, sizeof(struct wchar_io_data));
> Why cast a discarded return code to void?  That seems overly fussy to me.
Even if you got the error there it will mean we have broken memset
very basic function.

-- 
With Best Regards,
Andy Shevchenko


Home | Main Index | Thread Index | Old Index