riched20/tests: Write-strings warnings fix.

This commit is contained in:
Andrew Talbot 2006-08-03 18:51:22 +01:00 committed by Alexandre Julliard
parent 820acf0901
commit 3f8e2efc18

View File

@ -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;