Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ import opentimelineio as otio

timeline = otio.adapters.read_from_file("foo.aaf")
for clip in timeline.each_clip():
print clip.name, clip.duration()
print(clip.name, clip.duration())
```

There are more code examples here: https://github.com/PixarAnimationStudios/OpenTimelineIO/tree/master/examples
Expand Down
2 changes: 1 addition & 1 deletion src/opentimelineio/imageSequenceReference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ ImageSequenceReference::ImageSequenceReference(std::string const& target_url_bas
std::string image_num_string = std::to_string(abs(file_image_num));

std::string zero_pad = std::string();
if (image_num_string.length() < _frame_zero_padding) {
if (static_cast<int>(image_num_string.length()) < _frame_zero_padding) {
zero_pad = std::string(_frame_zero_padding - image_num_string.length(), '0');
}

Expand Down