summaryrefslogtreecommitdiffstats
path: root/test/vformat.c
AgeCommit message (Collapse)AuthorFilesLines
2013-02-10Cast NULL in void * in functions using va_argGravatar Thomas Preud'homme1-3/+3
NULL isn't necessary a zero value. For instance, on AMD64 architecture, a null pointer is 0x7fff00000000. Usually things works automagically as the compiler always cast NULL and 0 in void * if stored in a pointer variable. But with functions with variable number of arguments the compiler can't know the type of the arguments and thus don't make the cast. In consequences, NULL and 0 must be cast explicitely in void * if the parameter is a pointer.
2013-02-10initial commit of 1.13 sourcesGravatar Nikias Bassen1-0/+858