Skip to content

Commit

Permalink
Use int32 instead of uint32 for the buffer length for increased porta…
Browse files Browse the repository at this point in the history
…bility.
  • Loading branch information
EpsilonPrime committed Feb 8, 2024
1 parent 125a8cb commit db12b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export/planloader/planloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using SerializedPlan = struct {
// If set, contains a serialized ::substrait::proto::Plan object.
char *buffer;
// If buffer is set, this is the size of the buffer.
uint32_t size;
int32_t size;
// If null the buffer is valid, otherwise this points to an error message.
char *errorMessage;
};
Expand Down

0 comments on commit db12b3d

Please sign in to comment.