summaryrefslogtreecommitdiff
path: root/apps/plugins/splitedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/splitedit.c')
-rw-r--r--apps/plugins/splitedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c
index a44087e609..7dd6be0408 100644
--- a/apps/plugins/splitedit.c
+++ b/apps/plugins/splitedit.c
@@ -573,7 +573,7 @@ static int copy_file(
unsigned char *buffer;
unsigned int i = 0;
ssize_t bytes_read = 1; /* ensure the for loop is executed */
- unsigned int buffer_size;
+ size_t buffer_size;
buffer = rb->plugin_get_buffer(&buffer_size);
for (i = 0; i < bytes && bytes_read > 0; i += bytes_read)