summaryrefslogtreecommitdiffstatsci
path: root/src/caskbench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/caskbench.cpp')
-rw-r--r--src/caskbench.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/caskbench.cpp b/src/caskbench.cpp
index 81c4a07..6a05f5c 100644
--- a/src/caskbench.cpp
+++ b/src/caskbench.cpp
@@ -503,27 +503,27 @@ result_init(caskbench_result_t *result, const char* name)
}
int
-convertToShapeID(const char* shapeName)
+convertToShapeID(const char* shape_name)
{
int i =0;
- if (shapeName == NULL)
+ if (shape_name == NULL)
return 0;
while (gShapes[i] != NULL) {
- if (strcmp(gShapes[i], shapeName) == 0)
+ if (strcmp(gShapes[i], shape_name) == 0)
return i + 1;
i++;
}
}
-fillType
-convertToFillType(const char *fill_type)
+fill_type_t
+convertToFillType(const char *fill_name)
{
int i =0;
- if (fill_type == NULL)
- return (fillType) 0;
+ if (fill_name == NULL)
+ return (fill_type_t) 0;
while (gFillTypes[i] != NULL) {
- if (strcmp(gFillTypes[i], fill_type) == 0)
- return (fillType) i ;
+ if (strcmp(gFillTypes[i], fill_name) == 0)
+ return (fill_type_t) i ;
i++;
}
}