diff options
Diffstat (limited to 'tests/t12-repo.c')
| -rw-r--r-- | tests/t12-repo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t12-repo.c b/tests/t12-repo.c index 5d6ad48bf..9e6876d64 100644 --- a/tests/t12-repo.c +++ b/tests/t12-repo.c @@ -357,7 +357,7 @@ static int write_file(const char *path, const char *content) if (file < GIT_SUCCESS) return file; - error = p_write(file, (void*)content, strlen(content) * sizeof(char)); + error = p_write(file, content, strlen(content) * sizeof(char)); p_close(file); |
