* util/misc.c (grub_qsort_strcmp): Don't discard const attribute.
This commit is contained in:
parent
93bf55e616
commit
f4d70fd02b
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/misc.c (grub_qsort_strcmp): Don't discard const attribute.
|
||||||
|
|
||||||
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* configure.ac: Remove duplicate warning arguments.
|
* configure.ac: Remove duplicate warning arguments.
|
||||||
|
|
|
@ -262,6 +262,6 @@ grub_register_exported_symbols (void)
|
||||||
int
|
int
|
||||||
grub_qsort_strcmp (const void *p1, const void *p2)
|
grub_qsort_strcmp (const void *p1, const void *p2)
|
||||||
{
|
{
|
||||||
return strcmp(*(char **)p1, *(char **)p2);
|
return strcmp(*(char *const *)p1, *(char *const *)p2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue