From ca0ae4cbc01aa290495c84082d5358bf49045c1d Mon Sep 17 00:00:00 2001 From: eustas Date: Mon, 25 Jan 2016 11:40:20 +0100 Subject: [PATCH] Update brotlimodule.cc --- python/brotlimodule.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/python/brotlimodule.cc b/python/brotlimodule.cc index 351e133..7994713 100644 --- a/python/brotlimodule.cc +++ b/python/brotlimodule.cc @@ -20,6 +20,7 @@ static int as_uint8(PyObject *o, int* result) { return 0; } *result = (int) value; + return 1; } static int mode_convertor(PyObject *o, BrotliParams::Mode *mode) {