You should not have to worry about the - machine/compiler dependent - implementation of va_list.
Just remove the = NULL-initialization from the declaration of argptr: the initialization should be handled by va_start.
Just remove the = NULL-initialization from the declaration of argptr: the initialization should be handled by va_start.
Comment