mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
fix compile warnings
This commit is contained in:
parent
9b7710d48b
commit
d418fa8f10
@ -46,7 +46,7 @@ wchar_t* wcs_cpy(wchar_t* s1, const wchar_t* s2) {
|
||||
return s1;
|
||||
}
|
||||
|
||||
int wcs_cmp(wchar_t* s1, const wchar_t* s2) {
|
||||
int wcs_cmp(const wchar_t* s1, const wchar_t* s2) {
|
||||
uint32_t i = 0;
|
||||
return_value_if_fail(s1 != NULL && s2 != NULL, -1);
|
||||
|
||||
@ -83,7 +83,7 @@ size_t wcslen(const wchar_t* s) {
|
||||
return wcs_len(s);
|
||||
}
|
||||
|
||||
int wcscmp(wchar_t* s1, const wchar_t* s2) {
|
||||
int wcscmp(const wchar_t* s1, const wchar_t* s2) {
|
||||
return wcs_cmp(s1, s2);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user