From 1784d5fe623b317059543f122832be743eab32f6 Mon Sep 17 00:00:00 2001 From: zoff99 <6833516+zoff99@users.noreply.github.com> Date: Tue, 19 Nov 2024 01:45:06 +0000 Subject: [PATCH] toxcore amalgamation --- toxcore/toxcore_amalgamation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toxcore/toxcore_amalgamation.c b/toxcore/toxcore_amalgamation.c index e28a983..6c44724 100644 --- a/toxcore/toxcore_amalgamation.c +++ b/toxcore/toxcore_amalgamation.c @@ -85147,7 +85147,7 @@ bool cmp_write_pfix(cmp_ctx_t *ctx, uint8_t c) { } bool cmp_write_nfix(cmp_ctx_t *ctx, int8_t c) { - if (c >= -32 && c <= -1) + if (c >= -0x20 && c <= -1) return write_fixed_value(ctx, (uint8_t)c); ctx->error = CMP_ERROR_INPUT_VALUE_TOO_LARGE; @@ -85157,7 +85157,7 @@ bool cmp_write_nfix(cmp_ctx_t *ctx, int8_t c) { bool cmp_write_sfix(cmp_ctx_t *ctx, int8_t c) { if (c >= 0) return cmp_write_pfix(ctx, (uint8_t)c); - if (c >= -32 && c <= -1) + if (c >= -0x20 && c <= -1) return cmp_write_nfix(ctx, c); ctx->error = CMP_ERROR_INPUT_VALUE_TOO_LARGE;