Commit 2ff74db
committed
Get rid of trivial compiler warning.
Namely
In file included from src/numpy_cpp.h:17,
from src/py_converters.h:17,
from src/ft2font_wrapper.cpp:4:
src/ft2font_wrapper.cpp: In function ‘int PyFT2Font_init(PyFT2Font*, PyObject*, PyObject*)’:
src/py_exceptions.h:31:26: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
31 | return (errorcode); \
| ^
src/py_exceptions.h:68:27: note: in expansion of macro ‘CALL_CPP_FULL’
68 | #define CALL_CPP(name, a) CALL_CPP_FULL(name, a, , NULL)
| ^~~~~~~~~~~~~
src/ft2font_wrapper.cpp:572:5: note: in expansion of macro ‘CALL_CPP’
572 | CALL_CPP("FT2Font->set_kerning_factor", (self->x->set_kerning_factor(kerning_factor)));
|
(multiple times).1 parent 42e3f92 commit 2ff74db
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments