aboutsummaryrefslogtreecommitdiff
path: root/examples/senddata.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-12-18 14:05:06 +0100
committerAndreas Schneider <asn@cynapses.org>2010-12-18 14:05:06 +0100
commit14d6b8856f36d49666e421c51895bdd4c5cb9dcd (patch)
treef45ddb2e61357abf0f29b431ec7ecf9ddd16e825 /examples/senddata.c
parent48e4df4ac01002fbf0588e7178d4f01d861019df (diff)
downloadlibssh-14d6b8856f36d49666e421c51895bdd4c5cb9dcd.tar.gz
libssh-14d6b8856f36d49666e421c51895bdd4c5cb9dcd.tar.xz
libssh-14d6b8856f36d49666e421c51895bdd4c5cb9dcd.zip
example: Fixed gcc warning.
Diffstat (limited to 'examples/senddata.c')
-rw-r--r--examples/senddata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/senddata.c b/examples/senddata.c
index c8895ad..acc1beb 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)