Your message dated Wed, 20 Apr 2005 16:17:16 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303937: fixed in centericq 4.20.0-3
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Apr 2005 19:50:48 +0000
>From [EMAIL PROTECTED] Sat Apr 09 12:50:47 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d007094.adsl.hansenet.de (localhost.localdomain) [80.171.7.94] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DKLyg-0005Sj-00; Sat, 09 Apr 2005 12:50:46 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DKLye-0006jZ-OC; Sat, 09 Apr 2005 21:50:44 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: centericq: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses 
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 09 Apr 2005 21:50:44 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: centericq
Version: 4.20.0-2
Severity: normal
Tags: patch

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

texteditor.cc: In static member function 'static int 
ktool::texteditor::findint(void*, void*)':
texteditor.cc:2150: error: cast from 'void*' to 'int' loses precision
make[5]: *** [texteditor.o] Error 1
make[5]: Leaving directory `/centericq-4.20.0/kkconsui-0.1/src'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/centericq-4.20.0/kkconsui-0.1/src/texteditor.cc 
./kkconsui-0.1/src/texteditor.cc
--- ../tmp-orig/centericq-4.20.0/kkconsui-0.1/src/texteditor.cc 2003-09-09 
23:51:33.000000000 +0200
+++ ./kkconsui-0.1/src/texteditor.cc    2005-04-09 20:02:07.458823693 +0200
@@ -1940,7 +1940,7 @@
 }
 
 int texteditor::findint(void *p1, void *p2) {
-    return *(int *) p1 != (int) p2;
+    return *(int *) p1 != (long) p2;
 }
 
 int texteditor::findhighline(void *p1, void *p2) {
diff -urN ../tmp-orig/centericq-4.20.0/kkstrtext-0.1/kkstrtext.cc 
./kkstrtext-0.1/kkstrtext.cc
--- ../tmp-orig/centericq-4.20.0/kkstrtext-0.1/kkstrtext.cc     2005-02-01 
01:13:24.000000000 +0100
+++ ./kkstrtext-0.1/kkstrtext.cc        2005-04-09 19:55:31.390211290 +0200
@@ -431,7 +431,7 @@
 }
 
 int intcompare(void *s1, void *s2) {
-    return (int) s1 != (int) s2;
+    return (long) s1 != (long) s2;
 }
 
 string i2str(int i) {
@@ -885,7 +885,7 @@
 #ifdef HAVE_ICONV
     iconv_t cd = iconv_open(tocs.c_str(), fromcs.c_str());
 
-    if(((int) cd) != -1) {
+    if(((long) cd) != -1) {
        string r, text(atext);
        size_t inleft, outleft, soutleft;
        char *inbuf, *outbuf, *sinbuf, *soutbuf;
diff -urN ../tmp-orig/centericq-4.20.0/src/icqdialogs.cc ./src/icqdialogs.cc
--- ../tmp-orig/centericq-4.20.0/src/icqdialogs.cc      2005-02-03 
01:08:07.000000000 +0100
+++ ./src/icqdialogs.cc 2005-04-09 20:02:07.443826594 +0200
@@ -894,7 +894,7 @@
     i = m.open();
     m.close();
 
-    if(i) f = (unsigned short) ((int) m.getref(i-1));
+    if(i) f = (unsigned short) ((long) m.getref(i-1));
 }
 
 void icqface::selectlanguage(unsigned short &f) {
@@ -946,7 +946,7 @@
     int i = m.open();
     m.close();
 
-    if(i) f = (imgender) ((int) m.getref(i-1));
+    if(i) f = (imgender) ((long) m.getref(i-1));
 }
 
 void icqface::selectagerange(ICQ2000::AgeRange &r) {
@@ -967,7 +967,7 @@
     int i = m.open();
     m.close();
 
-    if(i) r = (ICQ2000::AgeRange) ((int) m.getref(i-1));
+    if(i) r = (ICQ2000::AgeRange) ((long) m.getref(i-1));
 }
 
 bool icqface::edit(string &txt, const string &header) {
@@ -1254,7 +1254,7 @@
 
        void *p;
        finished = !db.open(n, b, &p);
-       i = (int) p;
+       i = (long) p;
 
        if(!finished)
        switch(b) {
@@ -1745,7 +1745,7 @@
            it = transfers.end();
 
            if(!db.gettree()->isnode(db.gettree()->getid(np-1)))
-               it = transfers.begin() + (int) db.getmenu()->getref(n-1);
+               it = transfers.begin() + (long) db.getmenu()->getref(n-1);
 
            switch(b) {
                case 0:
diff -urN ../tmp-orig/centericq-4.20.0/src/icqface.cc ./src/icqface.cc
--- ../tmp-orig/centericq-4.20.0/src/icqface.cc 2005-02-03 00:26:11.000000000 
+0100
+++ ./src/icqface.cc    2005-04-09 20:02:07.420831043 +0200
@@ -392,7 +392,7 @@
 
     m.scale();
     m.idle = &menuidle;
-    i = (int) m.getref(m.open()-1);
+    i = (long) m.getref(m.open()-1);
     m.close();
 
     if(i) lastr = i;
@@ -441,7 +441,7 @@
 
     if(i) {
        lastitem = i-1;
-       r = (int) m.getref(lastitem);
+       r = (long) m.getref(lastitem);
     }
 
     return r;
@@ -467,7 +467,7 @@
            g = 0;
        }
        
-       if((unsigned int) c < 100) c = 0;
+       if((unsigned long) c < 100) c = 0;
 
        if(i) {
            switch(action = extk) {
@@ -1430,7 +1430,7 @@
        m.scale();
 
        i = m.open();
-       choice = (int) m.getref(i-1);
+       choice = (long) m.getref(i-1);
 
        m.close();
     }
@@ -1485,7 +1485,7 @@
        m.close();
 
        if(r = i) {
-           st = (imstatus) ((int) m.getref(i-1));
+           st = (imstatus) ((long) m.getref(i-1));
        }
     }
 
@@ -2078,7 +2078,7 @@
                            c = (icqcontact *) cm->getref(i);
                        }
 
-                       if((unsigned int) c > 100) {
+                       if((unsigned long) c > 100) {
                            string current = c->getdispnick();
                            len = current.size();
                            if(len > nick.size()) len = nick.size();

---------------------------------------
Received: (at 303937-close) by bugs.debian.org; 20 Apr 2005 20:25:59 +0000
>From [EMAIL PROTECTED] Wed Apr 20 13:25:59 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DOLln-0003zt-00; Wed, 20 Apr 2005 13:25:59 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DOLdM-0001t6-00; Wed, 20 Apr 2005 16:17:16 -0400
From: Julien Lemoine <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#303937: fixed in centericq 4.20.0-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 20 Apr 2005 16:17:16 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: centericq
Source-Version: 4.20.0-3

We believe that the bug you reported is fixed in the latest version of
centericq, which is due to be installed in the Debian FTP archive:

centericq-common_4.20.0-3_i386.deb
  to pool/main/c/centericq/centericq-common_4.20.0-3_i386.deb
centericq-fribidi_4.20.0-3_i386.deb
  to pool/main/c/centericq/centericq-fribidi_4.20.0-3_i386.deb
centericq-utf8_4.20.0-3_i386.deb
  to pool/main/c/centericq/centericq-utf8_4.20.0-3_i386.deb
centericq_4.20.0-3.diff.gz
  to pool/main/c/centericq/centericq_4.20.0-3.diff.gz
centericq_4.20.0-3.dsc
  to pool/main/c/centericq/centericq_4.20.0-3.dsc
centericq_4.20.0-3_i386.deb
  to pool/main/c/centericq/centericq_4.20.0-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Lemoine <[EMAIL PROTECTED]> (supplier of updated centericq package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 20 Apr 2005 21:34:12 +0200
Source: centericq
Binary: centericq-common centericq-utf8 centericq-fribidi centericq
Architecture: source i386
Version: 4.20.0-3
Distribution: unstable
Urgency: low
Maintainer: Julien LEMOINE <[EMAIL PROTECTED]>
Changed-By: Julien Lemoine <[EMAIL PROTECTED]>
Description: 
 centericq  - A text-mode multi-protocol instant messenger client
 centericq-common - A text-mode multi-protocol instant messenger client (data 
files)
 centericq-fribidi - A text-mode multi-protocol instant messenger client 
(Hebrew)
 centericq-utf8 - A text-mode multi-protocol instant messenger client
Closes: 303937
Changes: 
 centericq (4.20.0-3) unstable; urgency=low
 .
   * Applied patch from Andreas Jochens <[EMAIL PROTECTED]> to fix amd64 buid
     problems (g++ 4.0 compilation errors) (Closes: #303937)
Files: 
 37fd1ada640ac2c99dcb9d97c67c25f2 863 net optional centericq_4.20.0-3.dsc
 012695196fc9e1d86b6a22b673ea3139 119107 net optional centericq_4.20.0-3.diff.gz
 ce15ef69fc055bd809af8ab8c56d7ecb 335582 net optional 
centericq-common_4.20.0-3_i386.deb
 cb09026e79e47bedecef9fde71a75799 1349808 net optional 
centericq_4.20.0-3_i386.deb
 f2e3dfeedb89ba0a6cfbac84b26a1f48 1349866 net optional 
centericq-utf8_4.20.0-3_i386.deb
 c75a95b4246f225de5eb33a8765ffe36 1350582 net optional 
centericq-fribidi_4.20.0-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCZrUvc29c8N2YKnURAmJLAKCURecrDo6i9WxdRZ6tEZked0Iz8wCfWa/K
zHzWQ8IYIlKwmpB8fDvjK7I=
=sapA
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to