Skip to content

Commit d1d0d64

Browse files
committed
Fix -Wimplicit-int-conversion warning
1 parent b04e005 commit d1d0d64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/maxminddb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static int Reader_init(PyObject *self, PyObject *args, PyObject *kwds) {
9999
return -1;
100100
}
101101

102-
uint16_t status = MMDB_open(filename, MMDB_MODE_MMAP, mmdb);
102+
int const status = MMDB_open(filename, MMDB_MODE_MMAP, mmdb);
103103
Py_XDECREF(filepath);
104104

105105
if (MMDB_SUCCESS != status) {

0 commit comments

Comments
 (0)