Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdd580f1

Browse files
committed
Suppress compiler warning on Alpha.
1 parentaa88e59 commitdd580f1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/backend/nodes/readfuncs.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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)
20862086
if (typbyval)
20872087
{
20882088
if (length> (Size)sizeof(Datum))
2089-
elog(ERROR,"readDatum: byval & length = %u",length);
2089+
elog(ERROR,"readDatum: byval & length = %lu",
2090+
(unsigned long)length);
20902091
res= (Datum)0;
20912092
s= (char*) (&res);
20922093
for (i=0;i< (Size)sizeof(Datum);i++)
@@ -2110,7 +2111,8 @@ readDatum(bool typbyval)
21102111

21112112
token=pg_strtok(&tokenLength);/* skip the ']' */
21122113
if (token==NULL||token[0]!=']')
2113-
elog(ERROR,"readDatum: ']' expected, length = %d",length);
2114+
elog(ERROR,"readDatum: ']' expected, length = %lu",
2115+
(unsigned long)length);
21142116

21152117
returnres;
21162118
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp