summaryrefslogtreecommitdiff
path: root/update.cpp
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-08-21 15:14:48 -0400
committerJosh Ferrell <josh@vector35.com>2024-08-21 15:14:48 -0400
commit63f5f43ce24cee1e65df1caba02eb700c0ead443 (patch)
treece53b53738f0c921dcabcaacaa490a6746db3f36 /update.cpp
parent2aecafe146f0048d5125df9190a5a3d8da1bdb6d (diff)
Fix progress function types in update.cpp
Diffstat (limited to 'update.cpp')
-rw-r--r--update.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/update.cpp b/update.cpp
index affd9a99..de0bc1b4 100644
--- a/update.cpp
+++ b/update.cpp
@@ -27,9 +27,9 @@ using namespace std;
namespace BinaryNinja {
struct UpdateProgress
{
- function<bool(uint64_t progress, uint64_t total)> func;
+ function<bool(size_t progress, size_t total)> func;
- static bool UpdateCallback(void* ctxt, uint64_t progress, uint64_t total)
+ static bool UpdateCallback(void* ctxt, size_t progress, size_t total)
{
UpdateProgress* self = (UpdateProgress*)ctxt;
return self->func(progress, total);