Commit a69418c5 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msvcrt: Remove unneeded casts.

parent 4e3671f7
......@@ -601,10 +601,10 @@ unsigned int CDECL MSVCRT__getdiskfree(unsigned int disk, struct MSVCRT__diskfre
if (GetDiskFreeSpaceW(disk==0?NULL:drivespec,ret,ret+1,ret+2,ret+3))
{
d->sectors_per_cluster = (unsigned)ret[0];
d->bytes_per_sector = (unsigned)ret[1];
d->avail_clusters = (unsigned)ret[2];
d->total_clusters = (unsigned)ret[3];
d->sectors_per_cluster = ret[0];
d->bytes_per_sector = ret[1];
d->avail_clusters = ret[2];
d->total_clusters = ret[3];
return 0;
}
err = GetLastError();
......
......@@ -108,8 +108,8 @@ MSVCRT_uintptr_t CDECL _beginthreadex(
/* FIXME */
return (MSVCRT_uintptr_t)CreateThread(security, stack_size,
(LPTHREAD_START_ROUTINE) start_address,
arglist, initflag, (LPDWORD) thrdaddr);
start_address, arglist,
initflag, thrdaddr);
}
/*********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment