summaryrefslogtreecommitdiffhomepage
path: root/src/string
diff options
context:
space:
mode:
Diffstat (limited to 'src/string')
-rw-r--r--src/string/ntapi_tt_hex_utf16_to_uintptr.c8
-rw-r--r--src/string/ntapi_tt_uintptr_to_hex_utf16.c10
-rw-r--r--src/string/ntapi_tt_uintptr_to_hex_utf8.c10
3 files changed, 14 insertions, 14 deletions
diff --git a/src/string/ntapi_tt_hex_utf16_to_uintptr.c b/src/string/ntapi_tt_hex_utf16_to_uintptr.c
index 2037057..33478f3 100644
--- a/src/string/ntapi_tt_hex_utf16_to_uintptr.c
+++ b/src/string/ntapi_tt_hex_utf16_to_uintptr.c
@@ -8,7 +8,7 @@
#include <ntapi/nt_status.h>
int32_t __fastcall __ntapi_tt_hex_utf16_to_uint32(
- __in wchar16_t hex_key_utf16[8],
+ __in const wchar16_t hex_key_utf16[8],
__out uint32_t * key)
{
int i;
@@ -62,7 +62,7 @@ int32_t __fastcall __ntapi_tt_hex_utf16_to_uint32(
int32_t __fastcall __ntapi_tt_hex_utf16_to_uint64(
- __in wchar16_t hex_key_utf16[16],
+ __in const wchar16_t hex_key_utf16[16],
__out uint64_t * key)
{
int32_t status;
@@ -91,7 +91,7 @@ int32_t __fastcall __ntapi_tt_hex_utf16_to_uint64(
int32_t __fastcall __ntapi_tt_hex_utf16_to_uintptr(
- __in wchar16_t hex_key_utf16[],
+ __in const wchar16_t hex_key_utf16[],
__out uintptr_t * key)
{
#if (__SIZEOF_POINTER__ == 4)
@@ -103,7 +103,7 @@ int32_t __fastcall __ntapi_tt_hex_utf16_to_uintptr(
int32_t __fastcall __ntapi_tt_hex_utf16_to_uint16(
- __in wchar16_t hex_key_utf16[4],
+ __in const wchar16_t hex_key_utf16[4],
__out uint16_t * key)
{
int32_t ret;
diff --git a/src/string/ntapi_tt_uintptr_to_hex_utf16.c b/src/string/ntapi_tt_uintptr_to_hex_utf16.c
index 129a858..0afe43d 100644
--- a/src/string/ntapi_tt_uintptr_to_hex_utf16.c
+++ b/src/string/ntapi_tt_uintptr_to_hex_utf16.c
@@ -7,7 +7,7 @@
#include <psxtypes/psxtypes.h>
static void __fastcall __ntapi_tt_uint_to_hex_utf16(
- __in uint64_t key,
+ __in const uint64_t key,
__out wchar16_t * buffer,
__in unsigned bits)
{
@@ -37,7 +37,7 @@ static void __fastcall __ntapi_tt_uint_to_hex_utf16(
void __fastcall __ntapi_tt_uint16_to_hex_utf16(
- __in uint32_t key,
+ __in const uint32_t key,
__out wchar16_t * formatted_key)
{
__ntapi_tt_uint_to_hex_utf16(
@@ -48,7 +48,7 @@ void __fastcall __ntapi_tt_uint16_to_hex_utf16(
void __fastcall __ntapi_tt_uint32_to_hex_utf16(
- __in uint32_t key,
+ __in const uint32_t key,
__out wchar16_t * formatted_key)
{
__ntapi_tt_uint_to_hex_utf16(
@@ -59,7 +59,7 @@ void __fastcall __ntapi_tt_uint32_to_hex_utf16(
void __fastcall __ntapi_tt_uint64_to_hex_utf16(
- __in uint64_t key,
+ __in const uint64_t key,
__out wchar16_t * formatted_key)
{
__ntapi_tt_uint_to_hex_utf16(
@@ -70,7 +70,7 @@ void __fastcall __ntapi_tt_uint64_to_hex_utf16(
void __fastcall __ntapi_tt_uintptr_to_hex_utf16(
- __in uintptr_t key,
+ __in const uintptr_t key,
__out wchar16_t * formatted_key)
{
#if (__SIZEOF_POINTER__ == 4)
diff --git a/src/string/ntapi_tt_uintptr_to_hex_utf8.c b/src/string/ntapi_tt_uintptr_to_hex_utf8.c
index 2848916..36e333e 100644
--- a/src/string/ntapi_tt_uintptr_to_hex_utf8.c
+++ b/src/string/ntapi_tt_uintptr_to_hex_utf8.c
@@ -7,7 +7,7 @@
#include <psxtypes/psxtypes.h>
static void __fastcall __ntapi_tt_uint_to_hex_utf8(
- __in uint64_t key,
+ __in const uint64_t key,
__out unsigned char * buffer,
__in unsigned bits)
{
@@ -38,7 +38,7 @@ static void __fastcall __ntapi_tt_uint_to_hex_utf8(
void __fastcall __ntapi_tt_uint16_to_hex_utf8(
- __in uint32_t key,
+ __in const uint32_t key,
__out unsigned char * buffer)
{
__ntapi_tt_uint_to_hex_utf8(key,buffer,16);
@@ -46,7 +46,7 @@ void __fastcall __ntapi_tt_uint16_to_hex_utf8(
void __fastcall __ntapi_tt_uint32_to_hex_utf8(
- __in uint32_t key,
+ __in const uint32_t key,
__out unsigned char * buffer)
{
__ntapi_tt_uint_to_hex_utf8(key,buffer,32);
@@ -54,7 +54,7 @@ void __fastcall __ntapi_tt_uint32_to_hex_utf8(
void __fastcall __ntapi_tt_uint64_to_hex_utf8(
- __in uint64_t key,
+ __in const uint64_t key,
__out unsigned char * buffer)
{
__ntapi_tt_uint_to_hex_utf8(key,buffer,64);
@@ -62,7 +62,7 @@ void __fastcall __ntapi_tt_uint64_to_hex_utf8(
void __fastcall __ntapi_tt_uintptr_to_hex_utf8(
- __in uintptr_t key,
+ __in const uintptr_t key,
__out unsigned char * buffer)
{
#if (__SIZEOF_POINTER__ == 4)