mirror of
https://github.com/google/brotli.git
synced 2024-11-22 11:40:06 +00:00
Update brotlimodule.cc
This commit is contained in:
parent
1b938dc7a2
commit
8e8b8de0e6
@ -34,7 +34,7 @@ static int mode_convertor(PyObject *o, BrotliParams::Mode *mode) {
|
||||
PyErr_SetString(BrotliError, "Invalid mode");
|
||||
return 0;
|
||||
}
|
||||
*mode = (BrotliParams) mode_value;
|
||||
*mode = (BrotliParams::Mode) mode_value;
|
||||
if (*mode != BrotliParams::MODE_GENERIC &&
|
||||
*mode != BrotliParams::MODE_TEXT &&
|
||||
*mode != BrotliParams::MODE_FONT) {
|
||||
|
Loading…
Reference in New Issue
Block a user