[cig-commits] r20575 - seismo/3D/SPECFEM3D_GLOBE/trunk/src/shared
dkomati1 at geodynamics.org
dkomati1 at geodynamics.org
Thu Aug 16 06:38:06 PDT 2012
Author: dkomati1
Date: 2012-08-16 06:38:06 -0700 (Thu, 16 Aug 2012)
New Revision: 20575
Modified:
seismo/3D/SPECFEM3D_GLOBE/trunk/src/shared/write_c_binary.c
Log:
fixed a pointer arithmetic warning in src/shared/write_c_binary.c
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/src/shared/write_c_binary.c
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/src/shared/write_c_binary.c 2012-08-16 13:35:24 UTC (rev 20574)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/src/shared/write_c_binary.c 2012-08-16 13:38:06 UTC (rev 20575)
@@ -280,7 +280,10 @@
FILE *ft;
int itemlen,remlen,donelen,ret;
- void *buf;
+// DK DK fixed the warning we got when compiling with Intel icc
+// DK DK solution found at http://osdir.com/ml/network.quagga.devel/2004-09/msg00090.html
+// DK DK void *buf;
+ char *buf = NULL;
// file pointer
ft = fp_abs[*fid];
@@ -317,7 +320,10 @@
FILE *ft;
int ret,itemlen,remlen,donelen;
long long pos;
- void *buf;
+// DK DK fixed the warning we got when compiling with Intel icc
+// DK DK solution found at http://osdir.com/ml/network.quagga.devel/2004-09/msg00090.html
+// DK DK void *buf;
+ char *buf = NULL;
// file pointer
ft = fp_abs[*fid];
More information about the CIG-COMMITS
mailing list