Skip to content

Commit

Permalink
Fix linter issue.
Browse files Browse the repository at this point in the history
Signed-off-by: Rule Timothy (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Jul 23, 2024
1 parent 86c63a2 commit 83f22ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dse/fmimodelc/ascii85.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ char* ascii85_decode(const char* source, size_t* len)
/* Pad the source string to a multiple of 5. */
int padded_len = source_len + padding;
char* source_padded = calloc(padded_len + 1, sizeof(char));
snprintf(source_padded, source_len, "%s" source);
snprintf(source_padded, padded_len + 1, "%s", source);
for (int i = 0; i < padding; i++) {
source_padded[source_len + i] = 'u';
}
Expand Down

0 comments on commit 83f22ed

Please sign in to comment.