rfc:range_checks_for_64_bit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:range_checks_for_64_bit [2015/08/24 17:06] abrfc:range_checks_for_64_bit [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2015-08-24   * Date: 2015-08-24
   * Author: Anatol Belski, ab@php.net   * Author: Anatol Belski, ab@php.net
-  * Status: Draft+  * Status: withdrawn
  
 ===== Introduction ===== ===== Introduction =====
Line 43: Line 43:
 #define ZEND_SIZE_T_INT_OVFL(size) ((size) > (size_t)INT_MAX) #define ZEND_SIZE_T_INT_OVFL(size) ((size) > (size_t)INT_MAX)
  
-#if SIZEOF_INT == SIZEOF_ZEND_LONG+#if SIZEOF_INT == SIZEOF_SIZE_T
 # define ZEND_SIZE_T_UINT_OVFL(size) (0) # define ZEND_SIZE_T_UINT_OVFL(size) (0)
 #else #else
rfc/range_checks_for_64_bit.1440435979.txt.gz · Last modified: 2017/09/22 13:28 (external edit)