kernel: Write-strings warnings fixes.
This commit is contained in:
parent
10d552b22e
commit
b20a8916a9
|
@ -96,7 +96,7 @@ static ULONG allocate_default_keys(void)
|
||||||
* NOTE: programs usually read these registry entries after sending the
|
* NOTE: programs usually read these registry entries after sending the
|
||||||
* IOCTL_SCSI_GET_ADDRESS ioctl to the cdrom
|
* IOCTL_SCSI_GET_ADDRESS ioctl to the cdrom
|
||||||
*/
|
*/
|
||||||
static void create_scsi_entry( PSCSI_ADDRESS scsi_addr, LPSTR lpDriver, UINT uDriveType,
|
static void create_scsi_entry( PSCSI_ADDRESS scsi_addr, LPCSTR lpDriver, UINT uDriveType,
|
||||||
LPSTR lpDriveName, LPSTR lpUnixDeviceName )
|
LPSTR lpDriveName, LPSTR lpUnixDeviceName )
|
||||||
{
|
{
|
||||||
static UCHAR uCdromNumber = 0;
|
static UCHAR uCdromNumber = 0;
|
||||||
|
|
|
@ -323,7 +323,7 @@ static LPVOID _loadthunk(LPCSTR module, LPCSTR func, LPCSTR module32,
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GetThunkStuff (KERNEL32.53)
|
* GetThunkStuff (KERNEL32.53)
|
||||||
*/
|
*/
|
||||||
LPVOID WINAPI GetThunkStuff(LPSTR module, LPSTR func)
|
LPVOID WINAPI GetThunkStuff(LPCSTR module, LPCSTR func)
|
||||||
{
|
{
|
||||||
return _loadthunk(module, func, "<kernel>", NULL, 0L);
|
return _loadthunk(module, func, "<kernel>", NULL, 0L);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue