From 9262278979709181414664053523657355762707 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Thu, 24 Apr 2025 14:46:37 -0400 Subject: std::function ==> ProgressFunction --- examples/background_task/src/backgroundtask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/background_task/src/backgroundtask.cpp') 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(); -- cgit v1.3.1