Your message dated Thu, 08 Sep 2005 10:47:15 -0700 with message-id <[EMAIL PROTECTED]> and subject line Bug#289276: fixed in librapi2 0.9.1-1 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; 8 Jan 2005 09:05:52 +0000 >From [EMAIL PROTECTED] Sat Jan 08 01:05:52 2005 Return-path: <[EMAIL PROTECTED]> Received: from c214218.adsl.hansenet.de (localhost.localdomain) [213.39.214.218] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1CnCXg-0003Xp-00; Sat, 08 Jan 2005 01:05:52 -0800 Received: from aj by localhost.localdomain with local (Exim 4.34) id 1CnCdR-0000ga-TN; Sat, 08 Jan 2005 10:11:49 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: librapi2: FTBFS (amd64/gcc-4.0): pointer targets in passing argument 2 of 'rapi_buffer_read_uint32' differ in signedness Message-Id: <[EMAIL PROTECTED]> Date: Sat, 08 Jan 2005 10:11:49 +0100 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: librapi2 Severity: normal Tags: patch When building 'librapi2' on amd64 with gcc-4.0, I get the following error: cc1: warnings being treated as errors misc.c: In function 'CeProcessConfig': misc.c:306: warning: pointer targets in passing argument 2 of 'rapi_buffer_read_uint32' differ in signedness make[4]: *** [misc.lo] Error 1 make[4]: Leaving directory `/librapi2-0.9.0/src' With the attached patch 'librapi2' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/librapi2-0.9.0/src/misc.c ./src/misc.c --- ../tmp-orig/librapi2-0.9.0/src/misc.c 2005-01-08 09:53:22.769286296 +0100 +++ ./src/misc.c 2004-12-27 20:01:44.000000000 +0100 @@ -303,12 +303,14 @@ if ( !rapi_context_call(context) ) return false; - if (!rapi_buffer_read_uint32(context->recv_buffer, &result)) - goto exit; + unsigned r = 0; + if (!rapi_buffer_read_uint32(context->recv_buffer, &r)) + return E_UNEXPECTED; + result = r; synce_trace("result = 0x%08x", result); if (!rapi_buffer_read_uint32(context->recv_buffer, &has_reply)) - goto exit; + return E_UNEXPECTED; if (!has_reply) goto exit; diff -urN ../tmp-orig/librapi2-0.9.0/src/registry.c ./src/registry.c --- ../tmp-orig/librapi2-0.9.0/src/registry.c 2004-01-09 21:18:14.000000000 +0100 +++ ./src/registry.c 2005-01-08 09:50:25.639214160 +0100 @@ -16,7 +16,7 @@ { RapiContext* context = rapi_context_current(); LONG return_value = 0; - HKEY result = 0; + uint32_t result = 0; DWORD disposition = 0; rapi_context_begin_command(context, 0x20); @@ -29,7 +29,8 @@ return false; rapi_buffer_read_uint32(context->recv_buffer, &context->last_error); - rapi_buffer_read_uint32(context->recv_buffer, &return_value); + unsigned rv; + rapi_buffer_read_uint32(context->recv_buffer, &rv); if (ERROR_SUCCESS == return_value) { @@ -54,7 +55,7 @@ PHKEY phkResult) { RapiContext* context = rapi_context_current(); - LONG return_value = 0; + uint32_t return_value = 0; rapi_context_begin_command(context, 0x1e); rapi_buffer_write_uint32(context->send_buffer, hKey); @@ -69,8 +70,11 @@ if (ERROR_SUCCESS == return_value) { - if (phkResult) - rapi_buffer_read_uint32(context->recv_buffer, phkResult); + if (phkResult) { + uint32_t result; + rapi_buffer_read_uint32(context->recv_buffer, &result); + *phkResult = result; + } } return return_value; @@ -85,7 +89,7 @@ LPDWORD lpcbData) { RapiContext* context = rapi_context_current(); - LONG return_value = -1; + uint32_t return_value = -1; rapi_context_begin_command(context, 0x26); rapi_buffer_write_uint32(context->send_buffer, hKey); @@ -135,7 +139,7 @@ HKEY hKey) { RapiContext* context = rapi_context_current(); - LONG return_value = 0; + uint32_t return_value = 0; rapi_context_begin_command(context, 0x21); rapi_buffer_write_uint32(context->send_buffer, hKey); @@ -164,7 +168,7 @@ PFILETIME lpftLastWriteTime) { RapiContext* context = rapi_context_current(); - LONG return_value = 0; + uint32_t return_value = 0; rapi_context_begin_command(context, 0x25); rapi_buffer_write_uint32 (context->send_buffer, hKey); @@ -215,7 +219,7 @@ LPDWORD lpcbData) { RapiContext* context = rapi_context_current(); - LONG return_value = 0; + uint32_t return_value = 0; rapi_context_begin_command(context, 0x23); rapi_buffer_write_uint32 (context->send_buffer, hKey); @@ -257,7 +261,7 @@ PFILETIME lpftLastWriteTime) { RapiContext* context = rapi_context_current(); - LONG return_value = 0; + uint32_t return_value = 0; rapi_context_begin_command(context, 0x1f); rapi_buffer_write_uint32 (context->send_buffer, hKey); @@ -299,7 +303,7 @@ DWORD cbData) { RapiContext* context = rapi_context_current(); - LONG return_value = 0; + uint32_t return_value = 0; rapi_context_begin_command(context, 0x27); rapi_buffer_write_uint32(context->send_buffer, hKey); --------------------------------------- Received: (at 289276-close) by bugs.debian.org; 8 Sep 2005 17:48:30 +0000 >From [EMAIL PROTECTED] Thu Sep 08 10:48:30 2005 Return-path: <[EMAIL PROTECTED]> Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian)) id 1EDQUV-0002FC-00; Thu, 08 Sep 2005 10:47:15 -0700 From: Volker Christian <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.56 $ Subject: Bug#289276: fixed in librapi2 0.9.1-1 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Thu, 08 Sep 2005 10:47:15 -0700 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-Level: 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 Source: librapi2 Source-Version: 0.9.1-1 We believe that the bug you reported is fixed in the latest version of librapi2, which is due to be installed in the Debian FTP archive: librapi2-dev_0.9.1-1_i386.deb to pool/main/libr/librapi2/librapi2-dev_0.9.1-1_i386.deb librapi2-tools_0.9.1-1_i386.deb to pool/main/libr/librapi2/librapi2-tools_0.9.1-1_i386.deb librapi2_0.9.1-1.diff.gz to pool/main/libr/librapi2/librapi2_0.9.1-1.diff.gz librapi2_0.9.1-1.dsc to pool/main/libr/librapi2/librapi2_0.9.1-1.dsc librapi2_0.9.1-1_i386.deb to pool/main/libr/librapi2/librapi2_0.9.1-1_i386.deb librapi2_0.9.1.orig.tar.gz to pool/main/libr/librapi2/librapi2_0.9.1.orig.tar.gz 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. Volker Christian <[EMAIL PROTECTED]> (supplier of updated librapi2 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: Thu, 8 Sep 2005 19:28:13 +0200 Source: librapi2 Binary: librapi2 librapi2-tools librapi2-dev Architecture: source i386 Version: 0.9.1-1 Distribution: unstable Urgency: low Maintainer: Volker Christian <[EMAIL PROTECTED]> Changed-By: Volker Christian <[EMAIL PROTECTED]> Description: librapi2 - Make RAPI calls to a WinCE device, runtime libraries librapi2-dev - Make RAPI calls to a WinCE device, development libraries librapi2-tools - Tools for talking to a WinCE machine from the command line Closes: 289276 Changes: librapi2 (0.9.1-1) unstable; urgency=low . * New upstream release * FTBFS (amd64/gcc-4.0): pointer targets in passing argument 2 of 'rapi_buffer_read_uint32' differ in signedness (Closes: #289276) * Changed the Maintainer Email Address * Updated watch file to conform to version 3 * Updated to the Policy standard 3.6.2 * Suggests now synce-dccm Files: e91da127141144cd78ae6be6580fd3f6 644 libs optional librapi2_0.9.1-1.dsc 6ab07aa21dfbdb1047348b3a47071a3a 386579 libs optional librapi2_0.9.1.orig.tar.gz 88277d0e691f40c4de22de007476cce1 27588 libs optional librapi2_0.9.1-1.diff.gz 679740f368a240d5457cb2ad2dcff6ee 28810 libdevel optional librapi2-dev_0.9.1-1_i386.deb af1256dbaf08dd91000c64e61f413c05 17302 libs optional librapi2_0.9.1-1_i386.deb 463b8c98d8e33e627b06c95630be2651 33492 utils optional librapi2-tools_0.9.1-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDIHUni2zQYBBlZYQRAnKJAJ4hnqYM3vWpOx0+pvlE4mCnhTH7SQCgr9YV n7cVLEfOS5b4zIJV43OR+xU= =H1bs -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]