Skip to content

Commit

Permalink
hopefully fix android ci
Browse files Browse the repository at this point in the history
  • Loading branch information
griffi-gh committed Oct 16, 2024
1 parent 2843aa2 commit d55a82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/src/gundo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void undo_stack::checkpoint(const char *reason, void *snapshot /* = nullptr */)
snapshot = this->snapshot_state();
}

struct undo_item item = { reason, snapshot, W->lb.size };
struct undo_item item = { reason, snapshot, static_cast<size_t>(W->lb.size) };
this->items.push_back(item);

if (this->items.size() > MAX_UNDO_ITEMS) {
Expand Down

0 comments on commit d55a82f

Please sign in to comment.