Commit 3f8e2efc authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

riched20/tests: Write-strings warnings fix.

parent 820acf09
......@@ -120,7 +120,7 @@ struct find_s find_tests2[] = {
{0, 20, "WINE", FR_MATCHCASE, -1, 0}
};
static void check_EM_FINDTEXT(HWND hwnd, char *name, struct find_s *f, int id) {
static void check_EM_FINDTEXT(HWND hwnd, const char *name, struct find_s *f, int id) {
int findloc;
FINDTEXT ft;
memset(&ft, 0, sizeof(ft));
......@@ -133,7 +133,7 @@ static void check_EM_FINDTEXT(HWND hwnd, char *name, struct find_s *f, int id) {
name, id, f->needle, f->start, f->end, f->flags, findloc);
}
static void check_EM_FINDTEXTEX(HWND hwnd, char *name, struct find_s *f,
static void check_EM_FINDTEXTEX(HWND hwnd, const char *name, struct find_s *f,
int id) {
int findloc;
FINDTEXTEX ft;
......@@ -154,7 +154,7 @@ static void check_EM_FINDTEXTEX(HWND hwnd, char *name, struct find_s *f,
name, id, f->needle, f->start, f->end, f->flags, ft.chrgText.cpMax);
}
static void run_tests_EM_FINDTEXT(HWND hwnd, char *name, struct find_s *find,
static void run_tests_EM_FINDTEXT(HWND hwnd, const char *name, struct find_s *find,
int num_tests)
{
int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment