Re: [LAD] C - Change in memory causing seg.fault (but why?)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Muffinman <news@...>
Cc: <linux-audio-dev@...>
Date: Friday, November 9, 2012 - 12:58 am

On 11/08/2012 10:18 PM, Muffinman wrote:

And, BTW, pay attention to the "format ‘%i’ expects type ‘int’" type of
warnings. Using the wrong or omitting required length modifiers can lead
to segfaults, too. Even if '%d' and '%ld' refer to integers of the same
size on an i386 platform, on a 64 bit platform they won't and weird
things can happen if the argument doesn't match the format spec.

Jacob

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] C - Change in memory causing seg.fault (but why?), Jacob, (Fri Nov 9, 12:58 am)