From: Christian Heller Date: Tue, 20 Aug 2013 18:24:30 +0000 (+0200) Subject: Minor comment clarification. X-Git-Tag: tce~1090 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/balance?a=commitdiff_plain;h=6d3206140b1950e34fe8dc683acdabd454fd38bf;p=plomrogue Minor comment clarification. --- diff --git a/src/readwrite.c b/src/readwrite.c index 39a7353..5b31852 100644 --- a/src/readwrite.c +++ b/src/readwrite.c @@ -10,11 +10,11 @@ * failure, return 1, else 0. (As of of now, all extern read/write functions * build on top of these.) * - * Only use multiples of 8 greater or equal 32 for "size". Originally a bit - * number check prefaced the code of both functions. It was removed as redundant - * due to all possible "size" values being hardcoded into the library (i.e. in - * all extern functions calling / wrapping around either function). If this ever - * changes, (re-)insert: + * Only use multiples of 8 greater or equal 32 for "size", so that storage + * inside uint32_t is possible. Originally a bit number check prefaced the code + * of both functions. It was removed as redundant due to all possible "size" + * values being hardcoded into the library (i.e. in all extern functions calling + * / wrapping around either function). If this ever changes, (re-)insert: * * if (0 == size || size > 32 || 0 != size % 8) * {