mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
make the argument const to get rid of warning
Tue Sep 30 15:31:16 2003 Soeren Sandmann <sandmann@daimi.au.dk> * glib/guniprop.c (has_more_above): make the argument const to get rid of warning * glib/garray.c (g_byte_array_remove_range): insert cast to get rid of warning
This commit is contained in:
parent
dd012cc3ed
commit
8b75e12b13
@ -1,3 +1,11 @@
|
||||
Tue Sep 30 15:31:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* glib/guniprop.c (has_more_above): make the argument const to
|
||||
get rid of warning
|
||||
|
||||
* glib/garray.c (g_byte_array_remove_range): insert cast to get
|
||||
rid of warning
|
||||
|
||||
2003-09-29 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/testglib.c (main): Use hardcoded name for DLL, as there is
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Sep 30 15:31:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* glib/guniprop.c (has_more_above): make the argument const to
|
||||
get rid of warning
|
||||
|
||||
* glib/garray.c (g_byte_array_remove_range): insert cast to get
|
||||
rid of warning
|
||||
|
||||
2003-09-29 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/testglib.c (main): Use hardcoded name for DLL, as there is
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Sep 30 15:31:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* glib/guniprop.c (has_more_above): make the argument const to
|
||||
get rid of warning
|
||||
|
||||
* glib/garray.c (g_byte_array_remove_range): insert cast to get
|
||||
rid of warning
|
||||
|
||||
2003-09-29 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/testglib.c (main): Use hardcoded name for DLL, as there is
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Sep 30 15:31:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* glib/guniprop.c (has_more_above): make the argument const to
|
||||
get rid of warning
|
||||
|
||||
* glib/garray.c (g_byte_array_remove_range): insert cast to get
|
||||
rid of warning
|
||||
|
||||
2003-09-29 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/testglib.c (main): Use hardcoded name for DLL, as there is
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Sep 30 15:31:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* glib/guniprop.c (has_more_above): make the argument const to
|
||||
get rid of warning
|
||||
|
||||
* glib/garray.c (g_byte_array_remove_range): insert cast to get
|
||||
rid of warning
|
||||
|
||||
2003-09-29 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/testglib.c (main): Use hardcoded name for DLL, as there is
|
||||
|
@ -1,3 +1,11 @@
|
||||
Tue Sep 30 15:31:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* glib/guniprop.c (has_more_above): make the argument const to
|
||||
get rid of warning
|
||||
|
||||
* glib/garray.c (g_byte_array_remove_range): insert cast to get
|
||||
rid of warning
|
||||
|
||||
2003-09-29 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* tests/testglib.c (main): Use hardcoded name for DLL, as there is
|
||||
|
@ -705,7 +705,7 @@ g_byte_array_remove_range (GByteArray *array,
|
||||
g_return_val_if_fail (index_ < array->len, FALSE);
|
||||
g_return_val_if_fail (index_ + length <= array->len, FALSE);
|
||||
|
||||
return g_array_remove_range ((GArray*) array, index_, length);
|
||||
return (GByteArray *)g_array_remove_range ((GArray*) array, index_, length);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -741,9 +741,9 @@ g_utf8_strup (const gchar *str,
|
||||
/* traverses the string checking for characters with combining class == 230
|
||||
* until a base character is found */
|
||||
static gboolean
|
||||
has_more_above (gchar *str)
|
||||
has_more_above (const gchar *str)
|
||||
{
|
||||
gchar *p = str;
|
||||
const gchar *p = str;
|
||||
gint combining_class;
|
||||
|
||||
while (*p)
|
||||
|
Loading…
Reference in New Issue
Block a user