]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[ALL] Enable warning C4826.
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 13 Jul 2008 11:31:46 +0000 (11:31 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 13 Jul 2008 11:31:46 +0000 (11:31 +0000)
commitb0cae726c12373c84e5f3979da9f802238f4fa76
treea2d6297229a231f3a812aa81aefc910455eb150b
parent47b3a8d000613f9ad099412ce07d320ec40e6cbd
[ALL]  Enable warning C4826.

Warning C4826 warns you if you have signed pointer extension when a 32-bit pointer is extended to 64-bits.  This patch turns the warning on by default (for any users of complib), and fixes all instances of problematic code.  It also eradicates __ptr64 usage from the Qlogic VNIC driver.

Code affected:
- IBAL
- MTHCA
- MLX4
- QLGCVNIC

Note that I didn't change DAPL because it's licensed under the CPL and not BSD. So someone else will have to fix that.  In fact, DAPL should probably just go back into the SourceForge project rather than being duplicated everywhere.  Code in the WinOF SVN should be BSD only according to the contributor's agreement.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1392 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
15 files changed:
trunk/core/al/kernel/al_ndi_cm.c
trunk/hw/mlx4/kernel/bus/core/iobuf.c
trunk/hw/mlx4/kernel/hca/mr.c
trunk/hw/mthca/kernel/hca_memory.c
trunk/hw/mthca/kernel/mt_memory.c
trunk/hw/mthca/kernel/mthca_provider.c
trunk/hw/mthca/user/mlnx_uvp_qp.c
trunk/inc/kernel/complib/cl_types_osd.h
trunk/inc/user/complib/cl_types_osd.h
trunk/ulp/qlgcvnic/kernel/vnic_adapter.c
trunk/ulp/qlgcvnic/kernel/vnic_control.c
trunk/ulp/qlgcvnic/kernel/vnic_data.c
trunk/ulp/qlgcvnic/kernel/vnic_ib.c
trunk/ulp/qlgcvnic/kernel/vnic_ib.h
trunk/ulp/qlgcvnic/kernel/vnic_util.h