[retro-gtk] options: Cast the return of retro_option_get_values()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] options: Cast the return of retro_option_get_values()
- Date: Thu, 21 Sep 2017 07:56:40 +0000 (UTC)
commit b641a0d84d28c835e77c41c781c294c8e29dce2c
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Sep 20 13:32:40 2017 +0200
options: Cast the return of retro_option_get_values()
The avoids a compile time warning.
retro-gtk/retro-option.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/retro-gtk/retro-option.c b/retro-gtk/retro-option.c
index 2368293..e56f6ce 100644
--- a/retro-gtk/retro-option.c
+++ b/retro-gtk/retro-option.c
@@ -78,7 +78,7 @@ retro_option_get_values (RetroOption *self)
{
g_return_val_if_fail (RETRO_IS_OPTION (self), NULL);
- return self->values;
+ return (const gchar **) self->values;
}
const gchar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]