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

Commit73efd38

Browse files
committed
Fix gcc complaint about long being passed to sprintf %d.
1 parent863db45 commit73efd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/ecpg/preproc/preproc.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3355,7 +3355,7 @@ Character: character '(' Iconst ')'
33553355
yyerror(errortext);
33563356
}
33573357
elseif (atol($3) > MaxAttrSize) {
3358-
sprintf(errortext,"length for type '%s' cannot exceed %d",$1,MaxAttrSize);
3358+
sprintf(errortext,"length for type '%s' cannot exceed %ld",$1,(long)MaxAttrSize);
33593359
yyerror(errortext);
33603360
}
33613361

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp