Mercurial > mm7
diff SaveLoad.cpp @ 2224:c2eeeb991a87
some more pvs warning fixes
author | Grumpy7 |
---|---|
date | Wed, 19 Feb 2014 22:26:10 +0100 |
parents | e0863f5beee0 |
children | aff7a7b072b7 |
line wrap: on
line diff
--- a/SaveLoad.cpp Mon Feb 03 23:07:15 2014 +0100 +++ b/SaveLoad.cpp Wed Feb 19 22:26:10 2014 +0100 @@ -470,7 +470,7 @@ compressed_block_size += 16; memcpy(&((ODMHeader *)compressed_buf)->uCompressedSize, &compressed_block_size, 4); memcpy(&((ODMHeader *)compressed_buf)->uDecompressedSize, &Size, 4); - sprintf(Source, "%s%s", &Filename, &Ext); + sprintf(Source, "%s%s", Filename, Ext); strcpy(pLodDirectory.pFilename, Source); pLodDirectory.uDataSize = compressed_block_size; if ( pNew_LOD->Write(&pLodDirectory, (const void *)compressed_buf, 0) )