Commits

BarryFSmith  committed 2f52088

fixed one more missing (const char*) cast

  • Participants
  • Parent commits 6fdf671

Comments (0)

Files changed (1)

File src/ts/examples/tutorials/ex31.c

   }
   ierr = PetscOptionsGetScalarArray(PETSC_NULL,"-yinit",y,&N,&flg);CHKERRQ(ierr);
   if ((N != GetSize((const char*)s)) && flg) {
-    printf("Error: number of initial values %d does not match problem size %d.\n",(int)N,(int)GetSize(s));
+    printf("Error: number of initial values %d does not match problem size %d.\n",(int)N,(int)GetSize((const char*)s));
   }
   ierr = VecRestoreArray(Y,&y);CHKERRQ(ierr);
   PetscFunctionReturn(0);