Package: flpsed
Version: 0.3.2-1
Severity: normal
Tags: patch
When building 'flpsed' on amd64/unstable with gcc-4.0,
I get the following error:
c++ -c -Wall -g -I/usr/X11R6/include -O2 flpsed.cxx
flpsed.cxx: In function 'void show_tags_cb(Fl_Widget*, void*)':
flpsed.cxx:165: error: cast from 'void*' to 'int' loses precision
flpsed.cxx: In function 'int main(int, char**)':
flpsed.cxx:248: warning: unused variable 'x_in'
flpsed.cxx:248: warning: unused variable 'y_in'
make[1]: *** [flpsed.o] Error 1
make[1]: Leaving directory `/flpsed-0.3.2'
make: *** [build-stamp] Error 2
With the attached patch 'flpsed' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/flpsed-0.3.2/flpsed.cxx ./flpsed.cxx
--- ../tmp-orig/flpsed-0.3.2/flpsed.cxx 2005-01-28 16:37:40.000000000 +0100
+++ ./flpsed.cxx 2005-04-06 16:24:09.620290250 +0200
@@ -162,7 +162,7 @@
}
void show_tags_cb(Fl_Widget* w, void*d) {
- gsw_p->set_show_tags((int) d);
+ gsw_p->set_show_tags((long) d);
}
void edit_tag_cb() {
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]