Skip to content

Commit

Permalink
C lib: const qualify includeDataTitles setter value in implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
terryburton committed Aug 9, 2023
1 parent 90b4bac commit 6dd7161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c-lib/gs1encoders.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ GS1_ENCODERS_API bool gs1_encoder_getIncludeDataTitlesInHRI(gs1_encoder *ctx) {
reset_error(ctx);
return ctx->includeDataTitlesInHRI;
}
GS1_ENCODERS_API bool gs1_encoder_setIncludeDataTitlesInHRI(gs1_encoder *ctx, bool includeDataTitles) {
GS1_ENCODERS_API bool gs1_encoder_setIncludeDataTitlesInHRI(gs1_encoder *ctx, const bool includeDataTitles) {
assert(ctx);
reset_error(ctx);
ctx->includeDataTitlesInHRI = includeDataTitles;
Expand Down

0 comments on commit 6dd7161

Please sign in to comment.