diff --git a/org.ektorp.android/src/main/java/org/ektorp/android/http/AndroidHttpResponse.java b/org.ektorp.android/src/main/java/org/ektorp/android/http/AndroidHttpResponse.java
index <HASH>..<HASH> 100644
--- a/org.ektorp.android/src/main/java/org/ektorp/android/http/AndroidHttpResponse.java
+++ b/org.ektorp.android/src/main/java/org/ektorp/android/http/AndroidHttpResponse.java
@@ -57,8 +57,8 @@ public class AndroidHttpResponse implements HttpResponse {
 	}
 
 	@Override
-	public int getContentLength() {
-		return (int) entity.getContentLength();
+	public long getContentLength() {
+		return entity.getContentLength();
 	}
 
 	@Override
fix compilation issue for Android introduced by <I>da<I>af5df7fb<I>baddae<I>d<I>c<I>cf0f