]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[MLX4] a casting fix (to please the compiler)
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 23 Oct 2008 13:52:29 +0000 (13:52 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Thu, 23 Oct 2008 13:52:29 +0000 (13:52 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1@1691 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/hw/mlx4/kernel/bus/core/l2w_debug.c

index 7d33eab48ec8892585b3b608d0c183129ff45dba..dcb1a36bcb50b3f7fbfdffcb026d87e2af55c56b 100644 (file)
@@ -138,7 +138,7 @@ mlx4_err(
        va_end(list);
 
        // print to Event Log
-       __ansi_to_wchar( wbuf, buf, strlen(buf) );
+       __ansi_to_wchar( wbuf, buf, (int)strlen((void*)buf) );
        WriteEventLogEntryStr( mdev->pdev->p_self_do, (ULONG)EVENT_MLX4_ANY_ERROR, 0, 0, wbuf, 0, 0 ); 
 }