From: Pasi Kallinen Date: Sun, 15 Nov 2020 12:25:40 +0000 (+0200) Subject: Update comment about xchar X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dc44ad2103dcac54c57b606ec7d7ec9d7594238;p=nethack Update comment about xchar --- diff --git a/include/global.h b/include/global.h index 23350a12c..1cdc6a168 100644 --- a/include/global.h +++ b/include/global.h @@ -49,9 +49,8 @@ #endif /* DUMB */ /* - * type xchar: small integers in the range 0 - 127, usually coordinates - * although they are nonnegative they must not be declared unsigned - * since otherwise comparisons with signed quantities are done incorrectly + * type xchar: small integers (typedef'd as signed char, + * so in the range -127 - 127), usually coordinates. */ typedef schar xchar;