88 *
99 *
1010 * IDENTIFICATION
11- * $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.105 2001/01/24 19:42:57 momjian Exp $
11+ * $Header: /cvsroot/pgsql/src/backend/nodes/readfuncs.c,v 1.106 2001/02/12 21:03:03 tgl Exp $
1212 *
1313 * NOTES
1414 * Most of the read functions for plan nodes are tested. (In fact, they
@@ -2086,7 +2086,8 @@ readDatum(bool typbyval)
20862086if (typbyval )
20872087{
20882088if (length > (Size )sizeof (Datum ))
2089- elog (ERROR ,"readDatum: byval & length = %u" ,length );
2089+ elog (ERROR ,"readDatum: byval & length = %lu" ,
2090+ (unsigned long )length );
20902091res = (Datum )0 ;
20912092s = (char * ) (& res );
20922093for (i = 0 ;i < (Size )sizeof (Datum );i ++ )
@@ -2110,7 +2111,8 @@ readDatum(bool typbyval)
21102111
21112112token = pg_strtok (& tokenLength );/* skip the ']' */
21122113if (token == NULL || token [0 ]!= ']' )
2113- elog (ERROR ,"readDatum: ']' expected, length = %d" ,length );
2114+ elog (ERROR ,"readDatum: ']' expected, length = %lu" ,
2115+ (unsigned long )length );
21142116
21152117return res ;
21162118}