Module: wine Branch: refs/heads/master Commit: b20a8916a9e90b30dc713d27e1049eef35a3eae6 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=b20a8916a9e90b30dc713d27...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Tue Aug 1 19:38:40 2006 +0100
kernel: Write-strings warnings fixes.
---
dlls/kernel/oldconfig.c | 2 +- dlls/kernel/thunk.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/kernel/oldconfig.c b/dlls/kernel/oldconfig.c index 0eb5554..c386450 100644 --- a/dlls/kernel/oldconfig.c +++ b/dlls/kernel/oldconfig.c @@ -96,7 +96,7 @@ static ULONG allocate_default_keys(void) * NOTE: programs usually read these registry entries after sending the * 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 ) { static UCHAR uCdromNumber = 0; diff --git a/dlls/kernel/thunk.c b/dlls/kernel/thunk.c index 8da6cbe..62ee48a 100644 --- a/dlls/kernel/thunk.c +++ b/dlls/kernel/thunk.c @@ -323,7 +323,7 @@ static LPVOID _loadthunk(LPCSTR module, /*********************************************************************** * GetThunkStuff (KERNEL32.53) */ -LPVOID WINAPI GetThunkStuff(LPSTR module, LPSTR func) +LPVOID WINAPI GetThunkStuff(LPCSTR module, LPCSTR func) { return _loadthunk(module, func, "<kernel>", NULL, 0L); }