mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
Fix a bunch of Visual Studio compilation warnings, mostly related to truncating integers.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user