Fix warning in jigsaw.c -Warray-parameter

warning: argument 6 of type ‘gint[2]’ {aka ‘int[2]’} with mismatched bound [-Warray-parameter=]
 1629 |                          gint      py[2],
      |                          ~~~~~~~~~~^~~~~
This commit is contained in:
Axel Viala 2022-03-29 15:59:56 +02:00 committed by Jehan
parent e1a3895974
commit f0c8adc505
1 changed files with 4 additions and 4 deletions

View File

@ -249,16 +249,16 @@ static void draw_horizontal_line (guchar *buffer, gint bufsize,
gint px[2], gint py[2]);
static void darken_vertical_line (guchar *buffer, gint bufsize,
gint width, gint bytes,
gint *px, gint *py, gdouble delta);
gint px[2], gint py[2], gdouble delta);
static void lighten_vertical_line (guchar *buffer, gint bufsize,
gint width, gint bytes,
gint *px, gint *py, gdouble delta);
gint px[2], gint py[2], gdouble delta);
static void darken_horizontal_line (guchar *buffer, gint bufsize,
gint width, gint bytes,
gint *px, gint *py, gdouble delta);
gint px[2], gint py[2], gdouble delta);
static void lighten_horizontal_line(guchar *buffer, gint bufsize,
gint width, gint bytes,
gint *px, gint *py, gdouble delta);
gint px[2], gint py[2], gdouble delta);
static void draw_right_bump (guchar *buffer, gint bufsize,
gint width, gint bytes,
gint x_offset, gint curve_start_offset,