Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2a0f1c0

Browse files
committed
Remove void* in MemSet until we understand the gcc 3.3.1 problem better.
1 parent fca71f4 commit 2a0f1c0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/include/c.h

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: c.h,v 1.154 2003/10/11 19:53:45 momjian Exp $
15+
* $Id: c.h,v 1.155 2003/10/14 19:08:00 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -604,8 +604,7 @@ typedef NameData *Name;
604604
#define MemSet(start, val, len) \
605605
do \
606606
{ \
607-
/* (void *) used because we check for alignment below */ \
608-
int32 * _start = (int32 *) (void *) (start); \
607+
int32 * _start = (int32 *) (start); \
609608
int _val = (val); \
610609
Size _len = (len); \
611610
\

0 commit comments

Comments
 (0)