We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fb9893 commit f22ddf7Copy full SHA for f22ddf7
src/include/c.h
@@ -12,7 +12,7 @@
12
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
13
* Portions Copyright (c) 1994, Regents of the University of California
14
*
15
- * $Id: c.h,v 1.153 2003/09/21 17:57:21 tgl Exp $
+ * $Id: c.h,v 1.154 2003/10/11 19:53:45 momjian Exp $
16
17
*-------------------------------------------------------------------------
18
*/
@@ -604,7 +604,8 @@ typedef NameData *Name;
604
#define MemSet(start, val, len) \
605
do \
606
{ \
607
- int32 * _start = (int32 *) (start); \
+ /* (void *) used because we check for alignment below */ \
608
+ int32 * _start = (int32 *) (void *) (start); \
609
int _val = (val); \
610
Size _len = (len); \
611
\
0 commit comments