diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2021-11-06 17:54:08 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2021-11-06 17:54:08 -0400 |
commit | 2e8f24c114893c871b6295f283d14b087e862b1a (patch) | |
tree | ab56adaea3a1d2f67a78ecdc4af4805d6ad8d584 /tools/mwasmarm_patcher/mwasmarm_patcher.c | |
parent | 344a645b5a977bc277b9eb8c0a03496047b01a49 (diff) | |
parent | 48f301e353a728c328f6406a8c18f1da8d9de331 (diff) |
Merge branch 'master' of github.com:pret/pokediamond into pikalax_work
Diffstat (limited to 'tools/mwasmarm_patcher/mwasmarm_patcher.c')
-rw-r--r-- | tools/mwasmarm_patcher/mwasmarm_patcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mwasmarm_patcher/mwasmarm_patcher.c b/tools/mwasmarm_patcher/mwasmarm_patcher.c index e5ad3272..18572204 100644 --- a/tools/mwasmarm_patcher/mwasmarm_patcher.c +++ b/tools/mwasmarm_patcher/mwasmarm_patcher.c @@ -224,7 +224,7 @@ int main(int argc, char *argv[]) { }
free(string);
- char buf[SHA_DIGEST_LENGTH*2];
+ char buf[(SHA_DIGEST_LENGTH*2)+1];
for (int i=0; i < SHA_DIGEST_LENGTH; i++) {
sprintf(&(buf[i*2]), "%02x", sha1[i]);
}
|