Skip to content

Commit c4dabbe

Browse files
authored
Revert "fixed an integer overflow bug"
1 parent a3e6421 commit c4dabbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/multipart/FilePart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public long write(WritableByteChannel target, byte[] boundary) throws IOExceptio
101101

102102
handler.start();
103103

104-
long length = 0;
104+
int length = 0;
105105

106106
length += MultipartUtils.writeBytesToChannel(target, generateFileStart(boundary));
107107

0 commit comments

Comments
 (0)