Commit 7c1083d9 authored by Ben Boeckel's avatar Ben Boeckel

vtkWrap: use size_t for sizes

Change-Id: I1035010ffed5cbc484a0b953b7319c3d17c4245d
parent ab4dc579
......@@ -1096,9 +1096,9 @@ void vtkWrap_DeclareVariableSize(
char *vtkWrap_SafeSuperclassName(const char *name)
int template_class = 0;
int size = strlen(name);
size_t size = strlen(name);
char *safe_name = malloc(size + 1);
int i;
size_t i;
memcpy(safe_name, name, size + 1);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment