Index: uspace/app/bdsh/cmds/modules/cp/cp.c
===================================================================
--- uspace/app/bdsh/cmds/modules/cp/cp.c	(revision 3b10e07b5a24e144e18c1c16fb9c3387c8a559a0)
+++ uspace/app/bdsh/cmds/modules/cp/cp.c	(revision c3c56403688503c6117d80196b0ec43bfff388d4)
@@ -74,5 +74,5 @@
 	int fd1, fd2, bytes = 0;
 	off_t total = 0;
-	int copied = -1;
+	int64_t copied = -1;
 	char *buff = NULL;
 
