1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-13 14:40:22 +00:00

Fix -Werror build for sparc64: Use the appropriate conversion

specifier for an 'unsigned int' argument.
This commit is contained in:
Robert Drehmel 2002-07-26 12:57:57 +00:00
parent a7d3c08ea8
commit e25dadb05d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100712
2 changed files with 2 additions and 2 deletions

View File

@ -729,7 +729,7 @@ sbflush(sb)
sbdrop(sb, (int)sb->sb_cc);
}
if (sb->sb_cc || sb->sb_mb || sb->sb_mbcnt)
panic("sbflush: cc %ld || mb %p || mbcnt %ld", sb->sb_cc, (void *)sb->sb_mb, sb->sb_mbcnt);
panic("sbflush: cc %u || mb %p || mbcnt %u", sb->sb_cc, (void *)sb->sb_mb, sb->sb_mbcnt);
}
/*

View File

@ -729,7 +729,7 @@ sbflush(sb)
sbdrop(sb, (int)sb->sb_cc);
}
if (sb->sb_cc || sb->sb_mb || sb->sb_mbcnt)
panic("sbflush: cc %ld || mb %p || mbcnt %ld", sb->sb_cc, (void *)sb->sb_mb, sb->sb_mbcnt);
panic("sbflush: cc %u || mb %p || mbcnt %u", sb->sb_cc, (void *)sb->sb_mb, sb->sb_mbcnt);
}
/*