Update str8 printf spec
Release / release (push) Successful in 4s

This commit is contained in:
Abdelrahman Said
2026-09-19 11:37:55 +01:00
parent 605c1ddfae
commit 9029e21a4f
7 changed files with 10 additions and 9 deletions
+4 -4
View File
@@ -32,17 +32,17 @@ typedef struct WpSipHasherData {
} WpSipHasherData;
#ifdef WP_PLATFORM_CPP
#define wpSip24HasherData(KEY) (WpSipHasherData{KEY, WP_SIP_HASHER_MAGIC, 2, 4})
#define wpSip48HasherData(KEY) (WpSipHasherData{KEY, WP_SIP_HASHER_MAGIC, 4, 8})
#define wpSip24HasherData(KEY) (WpSipHasherData{(KEY), WP_SIP_HASHER_MAGIC, 2, 4})
#define wpSip48HasherData(KEY) (WpSipHasherData{(KEY), WP_SIP_HASHER_MAGIC, 4, 8})
#else
#define wpSip24HasherData(KEY) ((WpSipHasherData){ \
.key = KEY, \
.key = (KEY), \
.magic = WP_SIP_HASHER_MAGIC, \
.compression = 2, \
.finalisation = 4, \
})
#define wpSip48HasherData(KEY) ((WpSipHasherData){ \
.key = KEY, \
.key = (KEY), \
.magic = WP_SIP_HASHER_MAGIC, \
.compression = 4, \
.finalisation = 8, \
+1 -1
View File
@@ -27,7 +27,7 @@ typedef const WpStr8 WpStr8RO;
/**
* Utilities to be used with printf functions
*/
#define WP_STR8_SPEC "%.*s"
#define WP_STR8_SPEC ".*s"
#define wpStr8Varg(STRING) (int)((STRING).size), (STRING).buf
/**