Avoid some size_t printf format warnings.
This commit is contained in:
parent
49421014b7
commit
5d900bb0f6
|
@ -27,7 +27,7 @@
|
||||||
#define check(expected, result) \
|
#define check(expected, result) \
|
||||||
ok( (expected) == (result), \
|
ok( (expected) == (result), \
|
||||||
"expected=%d got=%d\n", \
|
"expected=%d got=%d\n", \
|
||||||
expected, result );
|
(int)(expected), (int)(result) );
|
||||||
#define checkLP(expected, result) \
|
#define checkLP(expected, result) \
|
||||||
ok( (expected) == (result), \
|
ok( (expected) == (result), \
|
||||||
"expected=%p got=%p\n", \
|
"expected=%p got=%p\n", \
|
||||||
|
|
|
@ -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",
|
FIXME("Invalid index chunk encountered: %u/%u, %u/%u, %u/%u, %u/%u\n",
|
||||||
pIndex->bIndexType, AVI_INDEX_OF_CHUNKS, pIndex->wLongsPerEntry, 2,
|
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);
|
pIndex->bIndexSubType, AVI_INDEX_SUB_DEFAULT);
|
||||||
*index = NULL;
|
*index = NULL;
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
|
|
|
@ -129,7 +129,7 @@ static void test_SendRequest (void)
|
||||||
todo_wine ok(ret == TRUE, "WinHttpReadData failed: %u.\n", GetLastError());
|
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",
|
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,
|
todo_wine ok(strncmp(buffer, test_post, bytes_rw) == 0,
|
||||||
"Data read did not match, got '%s'.\n", buffer);
|
"Data read did not match, got '%s'.\n", buffer);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue