diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-25 05:47:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-25 05:47:19 +0200 |
commit | 735b97fa6e91dea08f4ea9a0cab92ebf4cfda033 (patch) | |
tree | 880053440df77577db5d44fb47ae9269348c2c86 /src/gamma-quartz-cg.c | |
parent | m + gamma-x-randr: get output and output info (diff) | |
download | libgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.gz libgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.bz2 libgamma-735b97fa6e91dea08f4ea9a0cab92ebf4cfda033.tar.xz |
more restrict
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/gamma-quartz-cg.c')
-rw-r--r-- | src/gamma-quartz-cg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamma-quartz-cg.c b/src/gamma-quartz-cg.c index 9bbe0a1..1c25760 100644 --- a/src/gamma-quartz-cg.c +++ b/src/gamma-quartz-cg.c @@ -308,7 +308,7 @@ int libgamma_quartz_cg_get_crtc_information(libgamma_crtc_information_t* restric int libgamma_quartz_cg_crtc_get_gamma_rampsf(libgamma_crtc_state_t* restrict this, libgamma_gamma_rampsf_t* restrict ramps) { - CGDirectDisplayID* crtcs = this->partition->data; + CGDirectDisplayID* restrict crtcs = this->partition->data; CGDirectDisplayID crtc_id = crtcs[this->crtc]; uint32_t gamma_size_out; CGError r; @@ -338,7 +338,7 @@ int libgamma_quartz_cg_crtc_get_gamma_rampsf(libgamma_crtc_state_t* restrict thi int libgamma_quartz_cg_crtc_set_gamma_rampsf(libgamma_crtc_state_t* restrict this, libgamma_gamma_rampsf_t ramps) { - CGDirectDisplayID* crtcs = this->partition->data; + CGDirectDisplayID* restrict crtcs = this->partition->data; CGDirectDisplayID crtc_id = crtcs[this->crtc]; CGError r; #ifdef DEBUG |