chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Fix C_uword's format string on 64bit and some


From: Peter Bex
Subject: [Chicken-hackers] [PATCH] Fix C_uword's format string on 64bit and some inconsistencies in "size" variables
Date: Sun, 20 Dec 2015 20:49:35 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi all,

The attached patches should be pretty self-explanatory; they simply fix
the definition of UWORD_COUNT_FORMAT_STRING and some questionable or
nnecessary casts.  I've also reindented a few of those format strings
which went way beyond 80 columns.

I chose to change the types of heap_size, heapspace1_size and
heapspace2_size from size_t to C_uword.  This may look wrong, but
in fact all the calculations on heap sizes are done in smaller types,
and C_maximal_heap_size (which heap_size should always be smaller than)
is C_uword.

Cheers,
Peter

Attachment: 0001-Fix-UWORD_COUNT_FORMAT_STRING-on-64bit-platforms.chicken-5.patch
Description: Text Data

Attachment: 0001-Fix-UWORD_COUNT_FORMAT_STRING-on-64bit-platforms.master.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]