summaryrefslogtreecommitdiff
path: root/www/sitecopy/files/patch-sitestore.c
blob: fd6d12c72c00b597ebda11dcdbc95a324dafb094 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/sitestore.c.orig	Mon Jun 19 12:07:52 2006
+++ src/sitestore.c	Mon Jun 19 12:08:24 2006
@@ -340,8 +340,8 @@
 	}
 	break;
     case SITE_ELM_size:
-	doc->stored.size = strtol(cdata, NULL, 10);
-	if (doc->stored.size == LONG_MAX) {
+	doc->stored.size = strtoll(cdata, NULL, 10);
+	if (doc->stored.size == LLONG_MAX) {
         }
 	break;
     case SITE_ELM_protection: