aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/senddata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/senddata.c b/examples/senddata.c
index c8895ad4..acc1bebc 100644
--- a/examples/senddata.c
+++ b/examples/senddata.c
@@ -41,7 +41,7 @@ int main(void) {
while ((rc = ssh_channel_write(channel, buffer, sizeof(buffer))) > 0) {
total += rc;
if(total/2 >= lastshown){
- printf("written %llx\n",total);
+ printf("written %llx\n", (long long unsigned int) total);
lastshown=total;
}
if(total > LIMIT)