: Two little compiler warnings
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2041>
======================================================================
Reported By: Henne Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 2041 Category: 0_compilation problem_!!! Reproducibility: always Severity: tweak Priority: normal Status: assigned Distribution: Suse 10.0 x86_64 Kernel Version: 2.6.17-rc2 ====================================================================== Date Submitted: 04-19-2006 22:10 CEST Last Modified: 04-19-2006 22:51 CEST
======================================================================
Summary: Two little compiler warnings
Description:
The first one:
In file included from /pci/pcxhr/pcxhr_hwdep.c:9:
/pci/pcxhr/../../alsa-kernel/pci/pcxhr/pcxhr_hwdep.c: In function ‘pcxhr_hwdep_dsp_load’:
/pci/pcxhr/../../alsa-kernel/pci/pcxhr/pcxhr_hwdep.c:388: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘size_t’
It's just a portability issue, since size_t on i386 has 4 bytes and on x86_64 8 bytes.
WARNING: /home/henne/alsa/alsa-driver-1.0.11/pci/pdplus/snd-pdplus.o - Section mismatch: reference to .exit.text:pdplus_sweep from .text.pdplus_probe after 'pdplus_probe' (at offset 0xbe)
after the prototype of pdplus_sweep on line 1405 is an __exit. I deleted it and the warning disappeared.
======================================================================
----------------------------------------------------------------------
Henne - 04-19-06 22:51
----------------------------------------------------------------------
Here's a patch for pcxhr.
Issue History
Date Modified Username Field Change
======================================================================
04-19-06 22:10 Henne New Issue 04-19-06 22:10 Henne Distribution => Suse 10.0 x86_64 04-19-06 22:10 Henne Kernel Version => 2.6.17-rc2 04-19-06 22:51 Henne File Added: pcxhr_format.diff 04-19-06 22:51 Henne Note Added: 0009360
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642