File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -871,7 +871,7 @@ auto res = cli.Post(
871
871
httplib::Client cli (url, port);
872
872
873
873
// prints: 0 / 000 bytes => 50% complete
874
- auto res = cli.Get("/", [ ] (uint64_t len, uint64_t total) {
874
+ auto res = cli.Get("/", [ ] (size_t len, size_t total) {
875
875
printf("%lld / %lld bytes => %d%% complete\n",
876
876
len, total,
877
877
(int)(len* 100/total));
Original file line number Diff line number Diff line change 18
18
#error \
19
19
" cpp-httplib doesn't support 32-bit Windows. Please use a 64-bit compiler."
20
20
#elif defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ < 8
21
- #error \
21
+ #warning \
22
22
" cpp-httplib doesn't support 32-bit platforms. Please use a 64-bit compiler."
23
23
#elif defined(__SIZEOF_SIZE_T__) && __SIZEOF_SIZE_T__ < 8
24
- #error \
24
+ #warning \
25
25
" cpp-httplib doesn't support platforms where size_t is less than 64 bits."
26
26
#endif
27
27
You can’t perform that action at this time.
0 commit comments