From 46a5d4b5fa40f76f18980d1995c96698335ad4b2 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sun, 13 Nov 2022 16:53:43 +0000 Subject: Fix compilation error for STATS=memdbg. Fix incorrect comment --- generic/tclInt.h | 2 +- generic/tclLink.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generic/tclInt.h b/generic/tclInt.h index 036c653..2d29e1d 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -4906,7 +4906,7 @@ MODULE_SCOPE Tcl_LibraryInitProc Procbodytest_SafeInit; if (uw_ > WIDE_MAX) { \ mp_int bignumValue_; \ if (mp_init_u64(&bignumValue_, uw_) == MP_OKAY) { \ - (objPtr) = Tcl_NewBignumObj(&bignumValue_)); \ + (objPtr) = Tcl_NewBignumObj(&bignumValue_); \ } else { \ (objPtr) = NULL; \ } \ diff --git a/generic/tclLink.c b/generic/tclLink.c index af48302..1973067 100644 --- a/generic/tclLink.c +++ b/generic/tclLink.c @@ -557,9 +557,9 @@ GetUWide( while (numBytes-- > 0) { value = (value << CHAR_BIT) | *bytes++; } -#else /* !WORDS_BIGENDIAN */ +#else /* WORDS_BIGENDIAN */ /* - * Little-endian can read the value directly. + * Big-endian can read the value directly. */ value = scratch.value; #endif /* WORDS_BIGENDIAN */ -- cgit v0.12