[gegl/samplers] Removed two incorrect usages of the restrict keyword



commit 4cbd96e8823681fd88e90e549ad4fa6722ba40a9
Author: Adam Turcotte <aturcotte src gnome org>
Date:   Fri Jun 17 11:06:14 2011 -0400

    Removed two incorrect usages of the restrict keyword

 gegl/buffer/gegl-sampler-lohalo.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-sampler-lohalo.c b/gegl/buffer/gegl-sampler-lohalo.c
index 06bafd3..71794a8 100644
--- a/gegl/buffer/gegl-sampler-lohalo.c
+++ b/gegl/buffer/gegl-sampler-lohalo.c
@@ -1187,7 +1187,7 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
    * The newval array will contain one computed resampled value per
    * channel:
    */
-  gfloat restrict newval[channels];
+  gfloat newval[channels];
 
   /*
    * First channel:
@@ -1899,7 +1899,7 @@ gegl_sampler_lohalo_get (      GeglSampler* restrict self,
          */
 
         gfloat total_weight = 0.0;
-        gfloat restrict ewa_newval[channels];
+        gfloat ewa_newval[channels];
         ewa_newval[0] = 0.0;
         ewa_newval[1] = 0.0;
         ewa_newval[2] = 0.0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]