1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 12:45:18 +03:00
aports/testing/fcitx5-anthy/uint.patch
2023-02-01 10:25:57 +01:00

18 lines
764 B
Diff

diff --git a/src/utils.h b/src/utils.h
index 050c625..bc51dc9 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -28,11 +28,11 @@ bool key_is_keypad(const fcitx::Key &key);
std::string keypad_to_string(const fcitx::KeyEvent &key);
void launch_program(std::string command);
-bool surrounding_get_safe_delta(uint from, uint to, int32_t *delta);
+bool surrounding_get_safe_delta(unsigned int from, unsigned int to, int32_t *delta);
bool surrounding_get_anchor_pos_from_selection(
const std::string &surrounding_text, const std::string &selected_text,
- uint cursor_pos, uint *anchor_pos);
+ unsigned int cursor_pos, unsigned int *anchor_pos);
inline char get_ascii_code(const fcitx::Key &key) {
auto chr = fcitx::Key::keySymToUnicode(key.sym());