Fix a `cast to pointer from integer of different size' warning.

usage() has been made a (non-void) function so that it can be
used in a pointer expression (see macro `next'). Widen the
implied integer return type of usage() so that we can cast to
a pointer without warnings.
This commit is contained in:
marcel 2003-09-17 03:58:52 +00:00
parent e702e4aa8e
commit 9fef1a54f6

View File

@ -55,7 +55,7 @@ static char rcsid[] =
#include "char.h"
#include "local.h"
#define next(a) (*++*(a) ? *(a) : (*++(a) ? *(a) : (char *)usage()))
#define next(a) (*++*(a) ? *(a) : (*++(a) ? *(a) : (char *)(uintptr_t)usage()))
/*ARGSUSED*/
main(argc, argv)