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 Moolenaar 2003-09-17 03:58:52 +00:00
parent 9862c36bfb
commit 9e3275a35b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120148

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)