aboutsummaryrefslogtreecommitdiffstats
path: root/get_ramps.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--get_ramps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_ramps.h b/get_ramps.h
index 8d4c011..5c51242 100644
--- a/get_ramps.h
+++ b/get_ramps.h
@@ -13,7 +13,7 @@ switch (this->partition->site->method) {
#define X(CONST, CNAME, MDEPTH, MRAMPS)\
case CONST:\
if (!(MDEPTH)) {\
- return APPEND_RAMPS(libgamma_dummy_crtc_get_gamma_)(this, ramps);\
+ return APPEND_RAMPS(libgamma_dummy_crtc_get_gamma_)(this, (void *)ramps);\
} else if ((DEPTH) == (MDEPTH)) {\
return libgamma_##CNAME##_crtc_get_gamma_##MRAMPS(this, (void *)ramps);\
} else {\