diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-08-21 15:14:48 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-08-21 15:14:48 -0400 |
| commit | 63f5f43ce24cee1e65df1caba02eb700c0ead443 (patch) | |
| tree | ce53b53738f0c921dcabcaacaa490a6746db3f36 /update.cpp | |
| parent | 2aecafe146f0048d5125df9190a5a3d8da1bdb6d (diff) | |
Fix progress function types in update.cpp
Diffstat (limited to 'update.cpp')
| -rw-r--r-- | update.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
