summaryrefslogtreecommitdiff
path: root/examples/background_task
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-04-24 14:46:37 -0400
committerGlenn Smith <glenn@vector35.com>2025-04-25 13:43:01 -0400
commit9262278979709181414664053523657355762707 (patch)
treec472e0620b1fdfe3b3c9fd26c7cbf41425b27740 /examples/background_task
parent4aac12b0e429fedb02a645e5eb82ca2d88902e25 (diff)
std::function<bool(size_t,size_t)> ==> ProgressFunction
Diffstat (limited to 'examples/background_task')
-rw-r--r--examples/background_task/src/backgroundtask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/background_task/src/backgroundtask.cpp b/examples/background_task/src/backgroundtask.cpp
index 8a307080..9b0a17be 100644
--- a/examples/background_task/src/backgroundtask.cpp
+++ b/examples/background_task/src/backgroundtask.cpp
@@ -41,7 +41,7 @@ uint64_t InspireWriteCallback(uint8_t *data, uint64_t len, void *ctxt)
return len;
}
-bool InspireProgressCallback(void *ctxt, uint64_t progress, uint64_t total)
+bool InspireProgressCallback(void *ctxt, size_t progress, size_t total)
{
// Close connection on cancellation
return !inspireBackgroundTask->IsCancelled();