Skip to content

Commit

Permalink
Fix warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
sekrit-twc committed Dec 14, 2017
1 parent 529cd20 commit 3f31dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsznedi3/vsznedi3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class VSZNEDI3 : public vsxx::FilterBase {

if (buffer.first < tmp_size) {
buffer.first = tmp_size;
buffer.second = core.new_video_frame(*core.format_preset(pfGray8), tmp_size, 1);
buffer.second = core.new_video_frame(*core.format_preset(pfGray8), static_cast<int>(tmp_size), 1);
}

tmp_buffer = std::move(buffer);
Expand Down

0 comments on commit 3f31dac

Please sign in to comment.