Avoid some size_t printf format warnings.

This commit is contained in:
Alexandre Julliard 2008-08-21 16:05:15 +02:00
parent 49421014b7
commit 5d900bb0f6
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
#define check(expected, result) \
ok( (expected) == (result), \
"expected=%d got=%d\n", \
expected, result );
(int)(expected), (int)(result) );
#define checkLP(expected, result) \
ok( (expected) == (result), \
"expected=%p got=%p\n", \

View File

@ -549,7 +549,7 @@ static HRESULT AVISplitter_ProcessIndex(AVISplitterImpl *This, AVISTDINDEX **ind
{
FIXME("Invalid index chunk encountered: %u/%u, %u/%u, %u/%u, %u/%u\n",
pIndex->bIndexType, AVI_INDEX_OF_CHUNKS, pIndex->wLongsPerEntry, 2,
rest, (pIndex->nEntriesInUse * sizeof(DWORD) * pIndex->wLongsPerEntry),
rest, (DWORD)(pIndex->nEntriesInUse * sizeof(DWORD) * pIndex->wLongsPerEntry),
pIndex->bIndexSubType, AVI_INDEX_SUB_DEFAULT);
*index = NULL;
return E_INVALIDARG;

View File

@ -129,7 +129,7 @@ static void test_SendRequest (void)
todo_wine ok(ret == TRUE, "WinHttpReadData failed: %u.\n", GetLastError());
todo_wine ok(bytes_rw == strlen(test_post), "Read %u bytes instead of %d.\n",
bytes_rw, strlen(test_post));
bytes_rw, lstrlen(test_post));
todo_wine ok(strncmp(buffer, test_post, bytes_rw) == 0,
"Data read did not match, got '%s'.\n", buffer);