Fixed warnings.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6649 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-02-19 07:04:10 +00:00
parent 7a3ca20551
commit 362c1dfc8a

View File

@ -399,7 +399,7 @@ void PicturePrinter::SetFontFlags(int32 flags) {
if (flags == 0) Print("none set");
PRINT_FLAG(B_DISABLE_ANTIALIASING);
PRINT_FLAG(B_FORCE_ANTIALIASING);
if (flags != f) printf("Unknown Additional Flags %d", flags & ~f);
if (flags != f) printf("Unknown Additional Flags %ld", flags & ~f);
Cr();
}
@ -420,7 +420,7 @@ void PicturePrinter::SetFontFace(int32 flags) {
PRINT_FLAG(B_OUTLINED_FACE);
PRINT_FLAG(B_UNDERSCORE_FACE);
PRINT_FLAG(B_STRIKEOUT_FACE);
if (flags != f) printf("Unknown Additional Flags %d", flags & ~f);
if (flags != f) printf("Unknown Additional Flags %ld", flags & ~f);
Cr();
}