We populate the bits individually so unsigned is the proper type.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
int
virFileIsSharedFSType(const char *path,
- int fstypes)
+ unsigned int fstypes)
{
g_autofree char *dirpath = NULL;
char *p = NULL;
#else /* defined __linux__ */
int virFileIsSharedFSType(const char *path G_GNUC_UNUSED,
- int fstypes G_GNUC_UNUSED)
+ unsigned int fstypes G_GNUC_UNUSED)
{
/* XXX implement me :-) */
return 0;
VIR_FILE_SHFS_ACFS = (1 << 9),
};
-int virFileIsSharedFSType(const char *path, int fstypes) ATTRIBUTE_NONNULL(1);
+int virFileIsSharedFSType(const char *path, unsigned int fstypes) ATTRIBUTE_NONNULL(1);
int virFileIsSharedFS(const char *path) ATTRIBUTE_NONNULL(1);
int virFileIsClusterFS(const char *path) ATTRIBUTE_NONNULL(1);
int virFileIsMountPoint(const char *file) ATTRIBUTE_NONNULL(1);