git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fca71f4)
Remove void* in MemSet until we understand the gcc 3.3.1 problem better.
2003年10月14日 19:08:00 +0000 (19:08 +0000)
2003年10月14日 19:08:00 +0000 (19:08 +0000)

diff --git a/src/include/c.h b/src/include/c.h
index c95bc86ab6c19c8a938a4ecc4fdd112983e3ad98..428c1350e7d3a9a31aa57478dd49ac1afcfa919e 100644 (file)
--- 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); \
\
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /