Skip to content

Commit

Permalink
fix: compilation on 32bit platforms (#1562)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitry-ishenko authored Sep 16, 2024
1 parent 6e2642e commit e0edc1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/decklink/producer/decklink_producer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@ class decklink_producer : public IDeckLinkInputCallback
state_["has_signal"] = has_signal_;

if (video) {
state_["file/video/width"] = video->GetWidth();
state_["file/video/height"] = video->GetHeight();
state_["file/video/width"] = static_cast<int>(video->GetWidth());
state_["file/video/height"] = static_cast<int>(video->GetHeight());
}
}

Expand Down

0 comments on commit e0edc1c

Please sign in to comment.