[gnome-color-manager] trivial: fix compile on ubuntu
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: fix compile on ubuntu
- Date: Thu, 3 Dec 2009 08:03:27 +0000 (UTC)
commit 3d3b9b0c5ad2aa27f71c4d273a023e09ecb99b12
Author: Richard Hughes <richard hughsie com>
Date: Thu Dec 3 08:02:48 2009 +0000
trivial: fix compile on ubuntu
src/gcm-profile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-profile.c b/src/gcm-profile.c
index 355574f..9a5ce8d 100644
--- a/src/gcm-profile.c
+++ b/src/gcm-profile.c
@@ -865,7 +865,7 @@ gcm_profile_parse (GcmProfile *profile, const gchar *filename, GError **error)
priv->filename = g_strdup (filename);
/* load files */
- ret = g_file_get_contents (filename, &data, &length, &error_local);
+ ret = g_file_get_contents (filename, &data, (gsize *) &length, &error_local);
if (!ret) {
if (error != NULL)
*error = g_error_new (1, 0, "failed to load profile: %s", error_local->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]