equal
deleted
inserted
replaced
983 void ConsoleSetPatchSetting(char *name, char *value) |
983 void ConsoleSetPatchSetting(char *name, char *value) |
984 { |
984 { |
985 const PatchPage *page; |
985 const PatchPage *page; |
986 const PatchEntry *pe = NULL; |
986 const PatchEntry *pe = NULL; |
987 bool found = false; |
987 bool found = false; |
988 int i, j; |
988 int i; |
|
989 unsigned int j; |
989 int val; |
990 int val; |
990 |
991 |
991 /* Search for the name in the patch-settings */ |
992 /* Search for the name in the patch-settings */ |
992 for (i = 0; i < lengthof(_patches_page); i++) { |
993 for (i = 0; i < lengthof(_patches_page); i++) { |
993 page = &_patches_page[i]; |
994 page = &_patches_page[i]; |
1042 { |
1043 { |
1043 const PatchPage *page; |
1044 const PatchPage *page; |
1044 const PatchEntry *pe = NULL; |
1045 const PatchEntry *pe = NULL; |
1045 char value[50]; |
1046 char value[50]; |
1046 bool found = false; |
1047 bool found = false; |
1047 int i, j; |
1048 int i; |
|
1049 unsigned int j; |
1048 |
1050 |
1049 /* Search for the name in the patch-settings */ |
1051 /* Search for the name in the patch-settings */ |
1050 for (i = 0; i < lengthof(_patches_page); i++) { |
1052 for (i = 0; i < lengthof(_patches_page); i++) { |
1051 page = &_patches_page[i]; |
1053 page = &_patches_page[i]; |
1052 for (j = 0; j < page->num; j++) { |
1054 for (j = 0; j < page->num; j++) { |