summaryrefslogtreecommitdiff
blob: 5d112d861b710e46e470bc3f8e65b43c328b6d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Nur src.orig/configure src/configure
--- src.orig/configure	2012-06-12 00:57:14.000000000 +0100
+++ src/configure	2012-06-12 18:03:33.000000000 +0100
@@ -3512,7 +3512,8 @@
 	size_t input_length = (size_t) argc;
 	char* output = new char[snappy::MaxCompressedLength(input_length)];
 	size_t output_length;
-	RawCompress(input, input_length, output, &output_length);
+	char *input;
+	snappy::RawCompress(input, input_length, output, &output_length);
 	delete [] output;
 	return int(output_length);
 }