Skip to content
Snippets Groups Projects
Commit 0f928c2d authored by Bruce Momjian's avatar Bruce Momjian
Browse files

UPdate memset macro.

parent ac9e73ee
No related branches found
No related tags found
No related merge requests found
......@@ -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)); \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment