mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 08:28:43 +02:00
add a cast to stop a gcc warning
* gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a cast to stop a gcc warning * gfile.c (g_file_copy_attributes): add parens to stop a gcc warning svn path=/trunk/; revision=7550
This commit is contained in:
@@ -2151,7 +2151,7 @@ g_file_copy_attributes (GFile *source,
|
||||
|
||||
as_move = flags & G_FILE_COPY_ALL_METADATA;
|
||||
source_nofollow_symlinks = flags & G_FILE_COPY_NOFOLLOW_SYMLINKS;
|
||||
skip_perms = flags & G_FILE_COPY_TARGET_DEFAULT_PERMS != 0;
|
||||
skip_perms = (flags & G_FILE_COPY_TARGET_DEFAULT_PERMS) != 0;
|
||||
|
||||
/* Ignore errors here, if the target supports no attributes there is nothing to copy */
|
||||
attributes = g_file_query_settable_attributes (destination, cancellable, NULL);
|
||||
|
Reference in New Issue
Block a user