mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
fix to compile on 32-bit system
This commit is contained in:
parent
32c93786b3
commit
1821d197b9
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ write_callback(void *contents, size_t size, size_t nmemb, void* data)
|
|||
ws->curSize = 1L;
|
||||
}
|
||||
|
||||
XP_LOGF( "%s(size=%ld, nmemb=%ld)", __func__, size, nmemb );
|
||||
XP_LOGF( "%s(size=%zd, nmemb=%zd)", __func__, size, nmemb );
|
||||
size_t oldLen = ws->curSize;
|
||||
const size_t newLength = size * nmemb;
|
||||
XP_ASSERT( (oldLen + newLength) > 0 );
|
||||
|
|
Loading…
Add table
Reference in a new issue