Commit b5ed4be2 authored by Bruce Momjian's avatar Bruce Momjian

AIX align fix.

parent 6f84e86d
...@@ -6,7 +6,7 @@ ...@@ -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) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment