X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Ftic.h;h=66252aec035516a7f3c6d1e7a024f4c243fc8583;hp=5a0bfbeaa188909f593cec38890476d055ca4200;hb=8d8a3537cd58af7879c6e1921235daeed2b74926;hpb=cdaf29481becd3e1c21baa574ac1ab88ea5f3d38 diff --git a/include/tic.h b/include/tic.h index 5a0bfbea..66252aec 100644 --- a/include/tic.h +++ b/include/tic.h @@ -33,7 +33,7 @@ ****************************************************************************/ /* - * $Id: tic.h,v 1.78 2019/03/10 00:06:02 tom Exp $ + * $Id: tic.h,v 1.79 2019/07/20 20:19:54 tom Exp $ * tic.h - Global variables and structures for the terminfo compiler. */ @@ -93,7 +93,7 @@ extern "C" { #define IS_TIC_MAGIC(p) (LOW_MSB(p) == MAGIC || LOW_MSB(p) == MAGIC2) -#define quick_prefix(s) (!strncmp((s), "b64:", 4) || !strncmp((s), "hex:", 4)) +#define quick_prefix(s) (!strncmp((s), "b64:", (size_t)4) || !strncmp((s), "hex:", (size_t)4)) /* * The "maximum" here is misleading; XSI guarantees minimum values, which a