aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UnitTesting/GTMTestTimer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnitTesting/GTMTestTimer.h b/UnitTesting/GTMTestTimer.h
index 6c5fc55..1b5b9dc 100644
--- a/UnitTesting/GTMTestTimer.h
+++ b/UnitTesting/GTMTestTimer.h
@@ -38,7 +38,7 @@ typedef struct {
// Create a test timer
GTM_INLINE GTMTestTimer *GTMTestTimerCreate(void) {
- GTMTestTimer *t = calloc(sizeof(GTMTestTimer), 1);
+ GTMTestTimer *t = (GTMTestTimer *)calloc(sizeof(GTMTestTimer), 1);
if (t) {
if (mach_timebase_info(&t->time_base_info_) == KERN_SUCCESS) {
t->retainCount_ = 1;