diff options
author | Bruce Momjian | 2003-10-14 19:08:00 +0000 |
---|---|---|
committer | Bruce Momjian | 2003-10-14 19:08:00 +0000 |
commit | 2a0f1c08d5db7225057b81a7cf8d21457ca83350 (patch) | |
tree | a3c2607e5d0e7d69dafc41c1fd2b531852ea4a62 /src | |
parent | fca71f44066327864cf717beee598df224523b10 (diff) |
Remove void* in MemSet until we understand the gcc 3.3.1 problem better.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/c.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/c.h b/src/include/c.h index c95bc86ab6c..428c1350e7d 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.154 2003/10/11 19:53:45 momjian Exp $ + * $Id: c.h,v 1.155 2003/10/14 19:08:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -604,8 +604,7 @@ typedef NameData *Name; #define MemSet(start, val, len) \ do \ { \ - /* (void *) used because we check for alignment below */ \ - int32 * _start = (int32 *) (void *) (start); \ + int32 * _start = (int32 *) (start); \ int _val = (val); \ Size _len = (len); \ \ |