X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/charset/blobdiff_plain/2ef3c057cad7a76d46fc3097560a6de20934a291..3cca0edf4d9c3afe0c51c4b5bb59f99c743f7067:/hz.c diff --git a/hz.c b/hz.c index dc42171..1266e7e 100644 --- a/hz.c +++ b/hz.c @@ -110,7 +110,7 @@ static int write_hz(charset_spec const *charset, long int input_chr, return FALSE; } - if (state->s0 != desired_state) { + if (state->s0 != (unsigned)desired_state) { emit(emitctx, '~'); emit(emitctx, desired_state ? '{' : '}'); state->s0 = desired_state;