diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-21 14:33:01 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-21 14:44:07 +0200 |
| commit | 510a7471348788fccba6b7c4b9f7b7cc9aee6ba9 (patch) | |
| tree | 58df7791242d9a4f52e80da93ad3af20ed5e3528 /tools/301_solve_file/solve_file.c | |
| parent | 1d9b8acfeece68c4f55d2499d8aed127f98a383c (diff) | |
| download | nissy-core-510a7471348788fccba6b7c4b9f7b7cc9aee6ba9.tar.gz nissy-core-510a7471348788fccba6b7c4b9f7b7cc9aee6ba9.zip | |
Always use unsigned char * for data buffers
Before this commit I was inconsistently using one of void *, char *
and uint8_t *.
Diffstat (limited to 'tools/301_solve_file/solve_file.c')
| -rw-r--r-- | tools/301_solve_file/solve_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/301_solve_file/solve_file.c b/tools/301_solve_file/solve_file.c index 110c7d2..fcc018d 100644 --- a/tools/301_solve_file/solve_file.c +++ b/tools/301_solve_file/solve_file.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | char *solver; | 7 | char *solver; |
| 8 | int64_t size = 0, N = 0; | 8 | int64_t size = 0, N = 0; |
| 9 | char *buf; | 9 | unsigned char *buf; |
| 10 | char scrambles[MAX_SCR][MAX_SCR_LEN]; | 10 | char scrambles[MAX_SCR][MAX_SCR_LEN]; |
| 11 | 11 | ||
| 12 | void run(void) { | 12 | void run(void) { |
