Your message dated Sat, 25 Feb 2006 11:27:12 +0100
with message-id <[EMAIL PROTECTED]>
and subject line hptalx: #294452 done
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: hptalx
Severity: normal
Tags: patch

When building 'hptalx' on amd64 with gcc-4.0,
I get the following error:

gcc -O2 -Wall -g -DVERSION=\"1.1.0\" -DUPDATE_ROM `gtk-config --cflags` -c 
io2.c -o io2.o
io2.c: In function 'send_packet':
io2.c:106: warning: pointer targets in passing argument 1 of 'strlen' differ 
insignedness
io2.c:114: warning: pointer targets in passing argument 1 of 'strlen' differ 
insignedness
io2.c:123: error: invalid lvalue in assignment

With the attached patch 'hptalx' can be compiled
on amd64 using gcc-4.0.

The attached patch includes the patch from #263333 which was already
necessary for gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/hptalx-1.1.0/io2.c ./io2.c
--- ../tmp-orig/hptalx-1.1.0/io2.c      2000-07-02 20:29:05.000000000 +0200
+++ ./io2.c     2005-02-09 20:37:47.704090830 +0100
@@ -120,7 +120,7 @@
        
        /* checksum */
        packet[len+2] = 0;
-       for ( (const unsigned char *)t = s; *t != '\0'; t++ )
+       for ( t = s; *t != '\0'; t++ )
                packet[len+2] += *t;
        packet[len+3] = '\0'; 
 
diff -urN ../tmp-orig/hptalx-1.1.0/main.c ./main.c
--- ../tmp-orig/hptalx-1.1.0/main.c     2000-07-02 20:28:20.000000000 +0200
+++ ./main.c    2005-02-09 20:37:14.891434751 +0100
@@ -49,8 +49,8 @@
 GtkWidget *files_pc, *files_hp;
 GtkItemFactory *item_factory;
 struct data data_pc, data_hp;
-HPANED whereami;
-VPANED panel;
+VPANED whereami;
+HPANED panel;
 CALCULATOR calc = UNKNOWN_CALC;
 CONNECTION connected;
 TRANSFER_TYPE ttype = AUTO;


--- End Message ---
--- Begin Message ---
This package has been removed from unstable.

--- End Message ---

Reply via email to