1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

UPdate memset macro.

This commit is contained in:
Bruce Momjian
1997-09-18 18:48:32 +00:00
parent ac9e73ee8a
commit 0f928c2d21

View File

@ -7,7 +7,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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) \ (len) <= 64) \
{ \ { \
int32 *i = (int32 *)(start); \ int32 *_i = (int32 *)(start); \
int32 *stop = (int32 *)((char *)(start) + (len)); \ int32 *_stop = (int32 *)((char *)(start) + (len)); \
\ \
while (i < stop) \ while (_i < _stop) \
*i++ = 0; \ *_i++ = 0; \
} \ } \
else \ else \
memset((start), (val), (len)); \ memset((start), (val), (len)); \