git://git.jankratochvil.net
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c190c0d
)
Cosmetic: RtlCreateUnicodeString(): Fix 'const' warnings
author
short
<>
Sun, 23 Mar 2003 23:53:57 +0000
(23:53 +0000)
committer
short
<>
Sun, 23 Mar 2003 23:53:57 +0000
(23:53 +0000)
include/ntos/rtl.h
patch
|
blob
|
history
ntoskrnl/rtl/unicode.c
patch
|
blob
|
history
diff --git
a/include/ntos/rtl.h
b/include/ntos/rtl.h
index
4ff366e
..
2c9d270
100755
(executable)
--- a/
include/ntos/rtl.h
+++ b/
include/ntos/rtl.h
@@
-917,7
+917,7
@@
BOOLEAN
STDCALL
RtlCreateUnicodeString (
OUT PUNICODE_STRING Destination,
- IN P
WSTR
Source
+ IN P
CWSTR
Source
);
BOOLEAN STDCALL
diff --git
a/ntoskrnl/rtl/unicode.c
b/ntoskrnl/rtl/unicode.c
index
14b780a
..
40999be
100644
(file)
--- a/
ntoskrnl/rtl/unicode.c
+++ b/
ntoskrnl/rtl/unicode.c
@@
-429,7
+429,7
@@
RtlCopyUnicodeString(IN OUT PUNICODE_STRING DestinationString,
BOOLEAN
STDCALL
RtlCreateUnicodeString(IN OUT PUNICODE_STRING Destination,
- IN PWSTR Source)
+ IN P
C
WSTR Source)
{
ULONG Length;