mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
vio: Fix a build warning.
This commit is contained in:
parent
304371eecb
commit
31382d909e
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
#include "vio/csync_vio_handle.h"
|
||||
|
||||
#define VIO_METHOD_HAS_FUNC(method,func) \
|
||||
((((char *)&((method)->func)) - ((char *)(method)) < (method)->method_table_size) \
|
||||
(((size_t)(((char *)&((method)->func)) - ((char *)(method))) < (method)->method_table_size) \
|
||||
&& method->func != NULL)
|
||||
|
||||
typedef struct csync_vio_method_s csync_vio_method_t;
|
||||
|
|
Loading…
Reference in a new issue