warnings when building zaphfc on amd64

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Mar 2 08:19:45 UTC 2008


Hi

I saw the following warnings warnings in the build log. They seem to me
the result of somewhat sloppy code, but nevertheless harmless:

/home/tzafrir/Proj/Alioth/pkg-voip/build-area/usr_src/modules/zaptel/kernel/zaph
fc.c: In function ‘hfc_findCards’:
/home/tzafrir/Proj/Alioth/pkg-voip/build-area/usr_src/modules/zaptel/kernel/zaphfc.c:806: warning: cast from pointer to integer of different size
/home/tzafrir/Proj/Alioth/pkg-voip/build-area/usr_src/modules/zaptel/kernel/zaphfc.c:807: warning: cast from pointer to integer of different size

As the florz patch moves line around a bit, here are the lines from the 
patched copy:

738     struct hfc_card *hfctmp = NULL;
   ...
803         printk(KERN_INFO
804                        "zaphfc: %s %s configured at mem %#x fifo %#x(%#x) IR    Q %d HZ %d\n",
805                         vendor_name, card_name,
806                        (u_int) hfctmp->pci_io,
807                        (u_int) hfctmp->fifos,
808                        (u_int) virt_to_bus(hfctmp->fifos),
809                        hfctmp->irq, HZ);


-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the Pkg-voip-maintainers mailing list