summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorjacob berkman <jacob@ximian.com>2002-04-25 16:25:07 +0000
committerJacob Berkman <jberkman@src.gnome.org>2002-04-25 16:25:07 +0000
commite691b664e3cd92651264e67a6b40b7c9e1b67db2 (patch)
tree4dff60ec851ec45ce10fd76536d9a5d5328ee295 /src/session.c
parent4ee70f07802de8eaec95f4a78bbdf3d6177b9cf6 (diff)
downloadmetacity-e691b664e3cd92651264e67a6b40b7c9e1b67db2.tar.gz
metacity-e691b664e3cd92651264e67a6b40b7c9e1b67db2.tar.bz2
g_file_get_contents() takes a gsize not int (fixes bus error on 64-bit
2002-04-25 jacob berkman <jacob@ximian.com> * src/session.c (load_state): g_file_get_contents() takes a gsize not int (fixes bus error on 64-bit platforms)
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index 748cdbf..5facaea 100644
--- a/src/session.c
+++ b/src/session.c
@@ -976,7 +976,7 @@ load_state (const char *previous_save_file)
GError *error;
ParseData parse_data;
char *text;
- int length;
+ gsize length;
char *session_file;
session_file = g_strconcat (g_get_home_dir (),