Fix a bunch of Visual Studio compilation warnings, mostly related to truncating integers.

This commit is contained in:
Myria
2015-12-26 11:38:37 -08:00
parent a2f6616d21
commit fc8eb8ce8c
10 changed files with 58 additions and 58 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ void ncsd_print(ncsd_context* ctx)
char magic[5];
ctr_ncsdheader* header = &ctx->header;
unsigned int i;
unsigned int mediaunitsize = ncsd_get_mediaunit_size(ctx);
unsigned int mediaunitsize = (unsigned int) ncsd_get_mediaunit_size(ctx);
memcpy(magic, header->magic, 4);