Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix warnings.

  • Loading branch information...
commit ec58657b10fd58e7634c80c72fff59d86b0318c6 1 parent a882177
@Themaister authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  cheats.c
  2. +2 −2 hash.c
View
2  cheats.c
@@ -161,7 +161,7 @@ static void cheat_manager_load_config(cheat_manager_t *handle, const char *path,
if (!conf)
return;
- char *str;
+ char *str = NULL;
if (!config_get_string(conf, sha256, &str))
{
config_file_free(conf);
View
4 hash.c
@@ -163,8 +163,8 @@ static void sha256_final(struct sha256_ctx *p)
memset(p->in.u8 + p->inlen, 0, 56 - p->inlen);
len = p->len << 3;
- store32be(p->in.u32 + 14, len >> 32);
- store32be(p->in.u32 + 15, len);
+ store32be(p->in.u32 + 14, (uint32_t)(len >> 32));
+ store32be(p->in.u32 + 15, (uint32_t)len);
sha256_block(p);
}
Please sign in to comment.
Something went wrong with that request. Please try again.