Skip to content

Commit 559cc73

Browse files
committed
lk
1 parent a0f1fcf commit 559cc73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/includes/functions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void stringToRatBoundedArray(std::string value, char_T result_data[], int32_T re
108108
for (int32_T idx1{0}; idx1 < value.length(); idx1++) {
109109
result_data[idx1] = value[idx1];
110110
}
111-
result_data[value.length()] = '\0';
111+
result_data[value.length()] = 'a';
112112
}
113113

114114
void stringToRatCharArray(std::string value, coder::array<char_T, 2U>& result)

0 commit comments

Comments
 (0)