1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-24 10:47:04 +03:00

AIX align fix.

This commit is contained in:
Bruce Momjian 1998-09-08 22:15:42 +00:00
parent 6f84e86d69
commit b5ed4be218

View File

@ -6,7 +6,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.60 1998/09/07 05:35:42 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.61 1998/09/08 22:15:42 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -661,7 +661,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim)
} }
else if (nulls[i] != 'n') else if (nulls[i] != 'n')
{ {
ptr = att_align(ptr, attr[i]->attlen, attr[i]->attalign); ptr = (char *)att_align(ptr, attr[i]->attlen, attr[i]->attalign);
values[i] = (Datum) ptr; values[i] = (Datum) ptr;
ptr = att_addlength(ptr, attr[i]->attlen, ptr); ptr = att_addlength(ptr, attr[i]->attlen, ptr);
} }