]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib: Fix documentation on POINTER_CAST
authorAki Tuomi <aki.tuomi@dovecot.fi>
Thu, 30 Aug 2018 08:54:29 +0000 (11:54 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 30 Aug 2018 09:53:36 +0000 (09:53 +0000)
src/lib/macros.h

index 3253e21a5ac3baea699049a372b4bb25899114c6..b12f3764cb992aa4459e1efbe01a642dfa635601 100644 (file)
@@ -36,7 +36,7 @@
 #define I_MAX(a, b)  (((a) > (b)) ? (a) : (b))
 
 /* make it easier to cast from/to pointers. assumes that
-   sizeof(size_t) == sizeof(void *) and they're both the largest datatypes
+   sizeof(uintptr_t) == sizeof(void *) and they're both the largest datatypes
    that are allowed to be used. so, long long isn't safe with these. */
 #define POINTER_CAST(i) \
        ((void *) (((uintptr_t)NULL) + (i)))