Update brotlimodule.cc

This commit is contained in:
eustas 2016-01-25 11:40:20 +01:00
parent a4f40c1b24
commit ca0ae4cbc0

View File

@ -20,6 +20,7 @@ static int as_uint8(PyObject *o, int* result) {
return 0; return 0;
} }
*result = (int) value; *result = (int) value;
return 1;
} }
static int mode_convertor(PyObject *o, BrotliParams::Mode *mode) { static int mode_convertor(PyObject *o, BrotliParams::Mode *mode) {