From 63f5f43ce24cee1e65df1caba02eb700c0ead443 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 21 Aug 2024 15:14:48 -0400 Subject: Fix progress function types in update.cpp --- update.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'update.cpp') 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 func; + function 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); -- cgit v1.3.1