Skip to content

Commit

Permalink
avif: Fix sign-compare warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Jan 20, 2021
1 parent 67d33a2 commit 7efcefc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/_avif.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ PyObject *
_encoder_add(AvifEncoderObject *self, PyObject *args) {
uint8_t *rgb_bytes;
Py_ssize_t size;
int duration;
int width;
int height;
unsigned int duration;
unsigned int width;
unsigned int height;
char *mode;
PyObject *is_single_frame = NULL;
PyObject *ret = Py_None;
Expand All @@ -351,7 +351,7 @@ _encoder_add(AvifEncoderObject *self, PyObject *args) {

if (!PyArg_ParseTuple(
args,
"z#iiisO",
"z#IIIsO",
(char **)&rgb_bytes,
&size,
&duration,
Expand Down

0 comments on commit 7efcefc

Please sign in to comment.