libmount: do not use pointer as an integer value
Fix couple "initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast" warnings. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
6932a11035
commit
f4987e082b
|
@ -836,7 +836,7 @@ PyTypeObject FsType = {
|
|||
sizeof(FsObject), /*tp_basicsize*/
|
||||
0, /*tp_itemsize*/
|
||||
(destructor)Fs_destructor, /*tp_dealloc*/
|
||||
NULL, /*tp_print*/
|
||||
0, /*tp_print*/
|
||||
NULL, /*tp_getattr*/
|
||||
NULL, /*tp_setattr*/
|
||||
NULL, /*tp_compare*/
|
||||
|
|
|
@ -735,7 +735,7 @@ PyTypeObject TableType = {
|
|||
sizeof(TableObject), /*tp_basicsize*/
|
||||
0, /*tp_itemsize*/
|
||||
(destructor)Table_destructor, /*tp_dealloc*/
|
||||
NULL, /*tp_print*/
|
||||
0, /*tp_print*/
|
||||
NULL, /*tp_getattr*/
|
||||
NULL, /*tp_setattr*/
|
||||
NULL, /*tp_compare*/
|
||||
|
|
Loading…
Reference in New Issue