Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b5ed4be

Browse files
committed
AIX align fix.
1 parent 6f84e86 commit b5ed4be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/copy.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.60 1998/09/07 05:35:42 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.61 1998/09/08 22:15:42 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -661,7 +661,7 @@ CopyFrom(Relation rel, bool binary, bool oids, FILE *fp, char *delim)
661661
}
662662
else if (nulls[i] != 'n')
663663
{
664-
ptr = att_align(ptr, attr[i]->attlen, attr[i]->attalign);
664+
ptr = (char *)att_align(ptr, attr[i]->attlen, attr[i]->attalign);
665665
values[i] = (Datum) ptr;
666666
ptr = att_addlength(ptr, attr[i]->attlen, ptr);
667667
}

0 commit comments

Comments
 (0)