Skip to content

Commit

Permalink
Fixed an issue discovered by the address sanitizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Aug 12, 2023
1 parent 5c28610 commit c694428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/substrait/textplan/parser/SubstraitPlanTypeVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ::substrait::proto::Type SubstraitPlanTypeVisitor::typeToProto(
}
case TypeKind::kVarchar: {
auto varChar =
reinterpret_cast<const ParameterizedFixedChar*>(&decodedType);
reinterpret_cast<const ParameterizedVarchar*>(&decodedType);
if (varChar == nullptr) {
break;
}
Expand Down

0 comments on commit c694428

Please sign in to comment.