Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 375912 Details for
Bug 508922
app-editors/nvi - Ctl-G (file status) shows incorrect percentage on some 64-bit systems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to cast variables to proper types in message creation
msg.c.patch (text/plain), 439 bytes, created by
Gil Kloepfer
on 2014-04-27 22:57:14 UTC
(
hide
)
Description:
patch to cast variables to proper types in message creation
Filename:
MIME Type:
Creator:
Gil Kloepfer
Created:
2014-04-27 22:57:14 UTC
Size:
439 bytes
patch
obsolete
>--- common/msg.c.ORIG 2014-04-27 17:36:11.486780744 -0500 >+++ common/msg.c 2014-04-27 17:44:36.413209957 -0500 >@@ -640,7 +640,8 @@ msgq_status(SCR *sp, db_recno_t lno, u_i > p += len; > } else { > t = msg_cat(sp, "027|line %lu of %lu [%ld%%]", &len); >- (void)sprintf(p, t, lno, last, (lno * 100) / last); >+ (void)sprintf(p, t, (u_long)lno, (u_long)last, >+ ((long)lno * 100L) / (long)last); > p += strlen(p); > } > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 508922
: 375912