fix warning

This commit is contained in:
Joachim Schöberl 2019-03-30 14:02:16 +01:00
parent 672a67bb15
commit 784fad9806

View File

@ -666,11 +666,11 @@ namespace netgen
char buf[20], lstring[200]; char buf[20], lstring[200];
if (mesh) if (mesh)
{ {
sprintf (buf, "%d", mesh->GetNP()); sprintf (buf, "%u", unsigned(mesh->GetNP()));
Tcl_SetVar (interp, "::status_np", buf, 0); Tcl_SetVar (interp, "::status_np", buf, 0);
sprintf (buf, "%d", mesh->GetNE()); sprintf (buf, "%u", unsigned(mesh->GetNE()));
Tcl_SetVar (interp, "::status_ne", buf, 0); Tcl_SetVar (interp, "::status_ne", buf, 0);
sprintf (buf, "%d", mesh->GetNSE()); sprintf (buf, "%u", unsigned(mesh->GetNSE()));
Tcl_SetVar (interp, "::status_nse", buf, 0); Tcl_SetVar (interp, "::status_nse", buf, 0);
} }
else else