summaryrefslogtreecommitdiff
path: root/docs/examples/sendrecv.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/sendrecv.c')
-rw-r--r--docs/examples/sendrecv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/examples/sendrecv.c b/docs/examples/sendrecv.c
index 44741aeba..d8158466b 100644
--- a/docs/examples/sendrecv.c
+++ b/docs/examples/sendrecv.c
@@ -120,8 +120,7 @@ int main(void)
return 1;
}
- printf("Sent %" CURL_FORMAT_CURL_OFF_T " bytes.\n",
- (curl_off_t)nsent);
+ printf("Sent %lu bytes.\n", (unsigned long)nsent);
} while(nsent_total < request_len);
@@ -151,8 +150,7 @@ int main(void)
break;
}
- printf("Received %" CURL_FORMAT_CURL_OFF_T " bytes.\n",
- (curl_off_t)nread);
+ printf("Received %lu bytes.\n", (unsigned long)nread);
}
/* always cleanup */