Added missing type cast
This commit is contained in:
parent
992865659b
commit
08ef2ff9af
@ -457,7 +457,7 @@ namespace {
|
||||
return DataBuf();
|
||||
}
|
||||
if (nativePreview_.filter_ == "") {
|
||||
return DataBuf(data + nativePreview_.position_, nativePreview_.size_);
|
||||
return DataBuf(data + nativePreview_.position_, static_cast<long>(nativePreview_.size_));
|
||||
} else {
|
||||
throw Error(1, "Invalid native preview filter: " + nativePreview_.filter_);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user