diff options
author | Corey Berla <corey@berla.me> | 2023-01-04 07:53:35 -0800 |
---|---|---|
committer | António Fernandes <antoniof@gnome.org> | 2023-01-09 09:23:04 +0000 |
commit | 30e82424ad01ecbd847b129722f9d383021cba29 (patch) | |
tree | 972a68156d78f2451c0b6d2bf6304e811cab5cfb /src/nautilus-files-view.c | |
parent | 0bca2403c4621786fe79e3852c505c57725566bf (diff) | |
download | nautilus-30e82424ad01ecbd847b129722f9d383021cba29.tar.gz |
general: Use g_memdup2
Also make sure that all of the parameters are gsize
which already matches what we get (strlen returns
size_t). g_memdup took a guint.
Diffstat (limited to 'src/nautilus-files-view.c')
-rw-r--r-- | src/nautilus-files-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-files-view.c b/src/nautilus-files-view.c index 1cbde20a7..5f55c496d 100644 --- a/src/nautilus-files-view.c +++ b/src/nautilus-files-view.c @@ -2382,7 +2382,7 @@ nautilus_files_view_new_file_with_initial_contents (NautilusFilesView *view, const char *parent_uri, const char *filename, const char *initial_contents, - int length) + gsize length) { NewFolderData *data; |