diff options
Diffstat (limited to 'src/egg-array-float.c')
-rw-r--r-- | src/egg-array-float.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/egg-array-float.c b/src/egg-array-float.c index 0c4d15c..e4c2a34 100644 --- a/src/egg-array-float.c +++ b/src/egg-array-float.c @@ -76,7 +76,7 @@ gfloat egg_array_float_get (EggArrayFloat *array, guint i) { if (i >= array->len) - g_error ("above index! (%i)", i); + g_error ("above index! (%u)", i); return g_array_index (array, gfloat, i); } @@ -150,7 +150,7 @@ egg_array_float_compute_gaussian (guint length, gfloat sigma) half_length = (length / 2) + 1; for (i=0; i<half_length; i++) { division = half_length - (i + 1); - g_debug ("half_length=%i, div=%f, sigma=%f", half_length, division, sigma); + g_debug ("half_length=%u, div=%f, sigma=%f", half_length, division, sigma); g_array_index (array, gfloat, i) = egg_array_float_guassian_value (division, sigma); } @@ -207,7 +207,7 @@ egg_array_float_print (EggArrayFloat *array) length = array->len; /* debug out */ for (i=0; i<length; i++) - g_debug ("[%i]\tval=%f", i, g_array_index (array, gfloat, i)); + g_debug ("[%u]\tval=%f", i, g_array_index (array, gfloat, i)); return TRUE; } |