Skip to content

Commit 46a5d4b

Browse files
author
jan.nijtmans
committed
Fix compilation error for STATS=memdbg. Fix incorrect comment
1 parent 8743272 commit 46a5d4b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

generic/tclInt.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -4906,7 +4906,7 @@ MODULE_SCOPE Tcl_LibraryInitProc Procbodytest_SafeInit;
49064906
if (uw_ > WIDE_MAX) { \
49074907
mp_int bignumValue_; \
49084908
if (mp_init_u64(&bignumValue_, uw_) == MP_OKAY) { \
4909-
(objPtr) = Tcl_NewBignumObj(&bignumValue_)); \
4909+
(objPtr) = Tcl_NewBignumObj(&bignumValue_); \
49104910
} else { \
49114911
(objPtr) = NULL; \
49124912
} \

generic/tclLink.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,9 @@ GetUWide(
557557
while (numBytes-- > 0) {
558558
value = (value << CHAR_BIT) | *bytes++;
559559
}
560-
#else /* !WORDS_BIGENDIAN */
560+
#else /* WORDS_BIGENDIAN */
561561
/*
562-
* Little-endian can read the value directly.
562+
* Big-endian can read the value directly.
563563
*/
564564
value = scratch.value;
565565
#endif /* WORDS_BIGENDIAN */

0 commit comments

Comments
 (0)