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 23, 2021
1 parent dbfa939 commit 3ae762e
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 3ae762e

Please sign in to comment.