Skip to content
Snippets Groups Projects
Commit ff1903eb authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix warning
parent 98d786cc
No related branches found
No related tags found
No related merge requests found
// $Id: mshsort.cpp,v 1.6 2005-01-01 19:35:41 geuzaine Exp $ // $Id: mshsort.cpp,v 1.7 2005-05-18 22:04:18 geuzaine Exp $
// //
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
// //
...@@ -209,7 +209,7 @@ void printMesh(FILE *fp, double version, map<int, node*> nodes, vector<element*> ...@@ -209,7 +209,7 @@ void printMesh(FILE *fp, double version, map<int, node*> nodes, vector<element*>
if(version == 2.0){ if(version == 2.0){
fprintf(fp, "$MeshFormat\n"); fprintf(fp, "$MeshFormat\n");
fprintf(fp, "2.0 0 %d\n", sizeof(double)); fprintf(fp, "2.0 0 %d\n", (int)sizeof(double));
fprintf(fp, "$EndMeshFormat\n"); fprintf(fp, "$EndMeshFormat\n");
fprintf(fp, "$Nodes\n"); fprintf(fp, "$Nodes\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment