Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 97882 Details for
Bug 148820
x11-misc/xdiskusage-1.48 fails to compile--void* to int casts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This lets it compile.
xdiskusage.C.patch (text/plain), 717 bytes, created by
Ben Johnson
on 2006-09-23 11:41:39 UTC
(
hide
)
Description:
This lets it compile.
Filename:
MIME Type:
Creator:
Ben Johnson
Created:
2006-09-23 11:41:39 UTC
Size:
717 bytes
patch
obsolete
>--- xdiskusage.C.orig 2006-09-23 14:24:03.000000000 -0400 >+++ xdiskusage.C 2006-09-23 14:22:51.000000000 -0400 >@@ -988,7 +988,7 @@ > void OutputWindow::sort_cb(Fl_Widget* o, void*v) { > OutputWindow* d = (OutputWindow*)(o->window()); > int (*compare)(const Node*, const Node*); >- switch ((int)v) { >+ switch ((long)v) { > case 's': compare = largestfirst; break; > case 'r': compare = smallestfirst; break; > case 'a': compare = alphabetical; break; >@@ -1001,7 +1001,7 @@ > > void OutputWindow::columns_cb(Fl_Widget* o, void*v) { > OutputWindow* d = (OutputWindow*)(o->window()); >- int n = (int)v; >+ int n = (long)v; > ::ncols = n; > if (n == d->ncols) return; > if (d->current_depth > d->root_depth+n-1) {
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 148820
: 97882