summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-06-06 12:40:48 +0000
committermidipix <writeonce@midipix.org>2020-06-06 13:00:16 +0000
commita820b0a304cf5b8c74fb4760249174db2af79bf0 (patch)
tree4201a651b0d20cf172fd637bacb97af2456f4487 /src
parent1827b23153dffde126e7de59e23ad8a55e7de11f (diff)
downloadntapi-a820b0a304cf5b8c74fb4760249174db2af79bf0.tar.bz2
ntapi-a820b0a304cf5b8c74fb4760249174db2af79bf0.tar.xz
__ntapi_tt_string_to_guid_utf16(): fix signature.
Diffstat (limited to 'src')
-rw-r--r--src/guid/ntapi_tt_guid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/guid/ntapi_tt_guid.c b/src/guid/ntapi_tt_guid.c
index 69a5926..6f520fe 100644
--- a/src/guid/ntapi_tt_guid.c
+++ b/src/guid/ntapi_tt_guid.c
@@ -100,12 +100,12 @@ int32_t __fastcall __ntapi_tt_guid_compare(
int32_t __fastcall __ntapi_tt_string_to_guid_utf16(
- __out nt_guid_str_utf16 * guid_str,
- __in nt_guid * guid)
+ __in const nt_guid_str_utf16 * guid_str,
+ __out nt_guid * guid)
{
- int32_t status;
- wchar16_t * wch;
- uint16_t key;
+ int32_t status;
+ const wchar16_t * wch;
+ uint16_t key;
/* outer braces / outer underscores / outer dashes */
if ((guid_str->lbrace == '{') && (guid_str->rbrace == '}'))