UPdate memset macro.
This commit is contained in:
parent
ac9e73ee8a
commit
0f928c2d21
@ -7,7 +7,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: c.h,v 1.21 1997/09/18 17:06:21 momjian Exp $
|
||||
* $Id: c.h,v 1.22 1997/09/18 18:48:32 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -711,11 +711,11 @@ typedef struct Exception
|
||||
*/ \
|
||||
(len) <= 64) \
|
||||
{ \
|
||||
int32 *i = (int32 *)(start); \
|
||||
int32 *stop = (int32 *)((char *)(start) + (len)); \
|
||||
int32 *_i = (int32 *)(start); \
|
||||
int32 *_stop = (int32 *)((char *)(start) + (len)); \
|
||||
\
|
||||
while (i < stop) \
|
||||
*i++ = 0; \
|
||||
while (_i < _stop) \
|
||||
*_i++ = 0; \
|
||||
} \
|
||||
else \
|
||||
memset((start), (val), (len)); \
|
||||
|
Loading…
Reference in New Issue
Block a user