Skip to content

Commit

Permalink
Changed to use std::uintptr_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Sep 17, 2024
1 parent 3ee2e91 commit 899a05f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib/mrvUI/mrvMenus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1125,9 +1125,8 @@ namespace mrv
fileName = path.getBaseName() + path.getNumber() +
path.getExtension();
snprintf(buf, 256, _("Image/Go to/%s"), fileName.c_str());
void* ptr = nullptr;
ptr = (void*)i;
menu->add(buf, 0, (Fl_Callback*)goto_file_cb, ptr);
std::uintptr_t ptr = i;
menu->add(buf, 0, (Fl_Callback*)goto_file_cb, (void*)ptr);
}
}

Expand Down

0 comments on commit 899a05f

Please sign in to comment.