Skip to content

Commit

Permalink
Fixed cast warning in call to free().
Browse files Browse the repository at this point in the history
  • Loading branch information
cxbrooks committed Dec 31, 2014
1 parent 5a00761 commit 7f65c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmu10/src/shared/sim_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ void loadFMU(const char* fmuFileName) {
}

void deleteUnzippedFiles() {
const char *fmuTempPath = getTmpPath();
char *fmuTempPath = getTmpPath();
char *cmd = (char *)calloc(15 + strlen(fmuTempPath), sizeof(char));
#if WINDOWS
sprintf(cmd, "rmdir /S /Q %s", fmuTempPath);
Expand Down

0 comments on commit 7f65c84

Please sign in to comment.