Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ds4_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ static bool stop_list_find_from(const stop_list *stops, const char *text,
bool found = false;
size_t best_pos = 0, best_len = 0;
for (int i = 0; i < stops->len; i++) {
char *p = strstr(text + from, stops->v[i]);
const char *p = strstr(text + from, stops->v[i]);
if (!p) continue;
size_t ppos = (size_t)(p - text);
size_t plen = strlen(stops->v[i]);
Expand Down