File 64bits-safe.patch of Package file-shrimp
diff -Naur file-shrimp-0.2/main.c file-shrimp-0.2-mp/main.c
--- file-shrimp-0.2/main.c 2008-05-13 23:31:57.000000000 +0200
+++ file-shrimp-0.2-mp/main.c 2008-05-15 23:37:34.752588000 +0200
@@ -130,14 +130,14 @@
char *contents;
gsize length;
char *ret;
-
+
file = g_build_filename (path, ".profile", NULL);
if (!g_file_get_contents (file, &contents, &length, gerror)) {
return NULL;
}
#define VERSTR "version=\""
- ret = strcasestr (contents, VERSTR);
+ ret = (char *)strcasestr (contents, VERSTR);
if (!ret) {
return NULL;
}