also sprach Kurt Roeckx <[EMAIL PROTECTED]> [2005.02.22.2301 +0100]:
> lshid.c:49: warning: cast from pointer to integer of different size

argh. sorry.

could you please try the following patch? it works on amd64:

--- lshid.c (revision 207)
+++ lshid.c (working copy)
@@ -46,7 +46,7 @@
   
   /* only here to prevent the unused warning */
   /* TODO remove */
-  len = (unsigned int)custom;
+  len = *((unsigned int*)custom);
  
   /* Obtain the device's full path */
   sprintf(current_dev_path, "%s/%s", usbdev->bus->dirname, 
usbdev->device->filename);

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer, admin, user, and author
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

Attachment: signature.asc
Description: Digital signature

Reply via email to