Fixed integer size warnings.
This commit is contained in:
parent
6a06c8d991
commit
41f919b8bd
@ -59,13 +59,13 @@ static UINT irp_free(IRP* irp)
|
||||
*/
|
||||
static UINT irp_complete(IRP* irp)
|
||||
{
|
||||
int pos;
|
||||
size_t pos;
|
||||
rdpdrPlugin* rdpdr;
|
||||
UINT error;
|
||||
|
||||
rdpdr = (rdpdrPlugin*) irp->devman->plugin;
|
||||
|
||||
pos = (int) Stream_GetPosition(irp->output);
|
||||
pos = Stream_GetPosition(irp->output);
|
||||
Stream_SetPosition(irp->output, RDPDR_DEVICE_IO_RESPONSE_LENGTH - 4);
|
||||
Stream_Write_UINT32(irp->output, irp->IoStatus); /* IoStatus (4 bytes) */
|
||||
Stream_SetPosition(irp->output, pos);
|
||||
|
@ -788,8 +788,8 @@ typedef struct _WIN32_FILE_SEARCH WIN32_FILE_SEARCH;
|
||||
HANDLE FindFirstFileA(LPCSTR lpFileName, LPWIN32_FIND_DATAA lpFindFileData)
|
||||
{
|
||||
LPSTR p;
|
||||
int index;
|
||||
int length;
|
||||
size_t index;
|
||||
size_t length;
|
||||
struct stat fileStat;
|
||||
WIN32_FILE_SEARCH* pFileSearch;
|
||||
ZeroMemory(lpFindFileData, sizeof(WIN32_FIND_DATAA));
|
||||
@ -960,8 +960,8 @@ BOOL FindNextFileA(HANDLE hFindFile, LPWIN32_FIND_DATAA lpFindFileData)
|
||||
WIN32_FILE_SEARCH* pFileSearch;
|
||||
struct stat fileStat;
|
||||
char* fullpath;
|
||||
int pathlen;
|
||||
int namelen;
|
||||
size_t pathlen;
|
||||
size_t namelen;
|
||||
UINT64 ft;
|
||||
ZeroMemory(lpFindFileData, sizeof(WIN32_FIND_DATAA));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user