mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
Cast to const char *, not char *. (#138153, Nikolai Weibull)
2006-12-11 Matthias Clasen <mclasen@redhat.com> * glib/gunicode.h (g_utf8_next_char): Cast to const char *, not char *. (#138153, Nikolai Weibull)
This commit is contained in:
committed by
Matthias Clasen
parent
7b7adbaa06
commit
b081948f1e
@@ -1,3 +1,8 @@
|
|||||||
|
2006-12-11 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gunicode.h (g_utf8_next_char): Cast to const char *,
|
||||||
|
not char *. (#138153, Nikolai Weibull)
|
||||||
|
|
||||||
2006-11-15 Matthias Clasen <mclasen@redhat.com>
|
2006-11-15 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* m4macros/glib-gettext.m4: Apply a patch from James
|
* m4macros/glib-gettext.m4: Apply a patch from James
|
||||||
|
@@ -173,7 +173,7 @@ gunichar *g_unicode_canonical_decomposition (gunichar ch,
|
|||||||
*/
|
*/
|
||||||
GLIB_VAR const gchar * const g_utf8_skip;
|
GLIB_VAR const gchar * const g_utf8_skip;
|
||||||
|
|
||||||
#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(guchar *)(p)])
|
#define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(const guchar *)(p)])
|
||||||
|
|
||||||
gunichar g_utf8_get_char (const gchar *p);
|
gunichar g_utf8_get_char (const gchar *p);
|
||||||
gunichar g_utf8_get_char_validated (const gchar *p,
|
gunichar g_utf8_get_char_validated (const gchar *p,
|
||||||
|
Reference in New Issue
Block a user