1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-05 20:55:46 +03:00

example: Fixed gcc warning.

This commit is contained in:
Andreas Schneider
2010-12-18 14:05:06 +01:00
parent 48e4df4ac0
commit 14d6b8856f

View File

@@ -41,7 +41,7 @@ int main(void) {
while ((rc = ssh_channel_write(channel, buffer, sizeof(buffer))) > 0) { while ((rc = ssh_channel_write(channel, buffer, sizeof(buffer))) > 0) {
total += rc; total += rc;
if(total/2 >= lastshown){ if(total/2 >= lastshown){
printf("written %llx\n",total); printf("written %llx\n", (long long unsigned int) total);
lastshown=total; lastshown=total;
} }
if(total > LIMIT) if(total > LIMIT)