<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -488,7 +488,7 @@ static NSError *ASIUnableToCreateRequestError;
 			
 			// We aren't using a queue, we should just set progress of the indicator
 		} else {
-			[ASIHTTPRequest setProgress:(double)(byteCount/postLength) forProgressIndicator:uploadProgressDelegate];
+			[ASIHTTPRequest setProgress:(double)(1.0*byteCount/postLength) forProgressIndicator:uploadProgressDelegate];
 		}
 		
 	}
@@ -557,7 +557,7 @@ static NSError *ASIUnableToCreateRequestError;
 				
 				// We aren't using a queue, we should just set progress of the indicator to 0
 			} else if (contentLength &gt; 0)  {
-				[ASIHTTPRequest setProgress:(double)(bytesReadSoFar/contentLength) forProgressIndicator:downloadProgressDelegate];
+				[ASIHTTPRequest setProgress:(double)(1.0*bytesReadSoFar/contentLength) forProgressIndicator:downloadProgressDelegate];
 			}
 		}
 		</diff>
      <filename>ASIHTTPRequest.m</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>11a50567e471a4ccfc496a087a2b571fc72e301d</id>
    </parent>
  </parents>
  <author>
    <name>Ben Copsey</name>
    <email>ben@allseeing-i.com</email>
  </author>
  <url>http://github.com/pokeb/asi-http-request/commit/b7705175886141ad16c278786e7e620b1fab5a1e</url>
  <id>b7705175886141ad16c278786e7e620b1fab5a1e</id>
  <committed-date>2008-11-17T10:47:18-08:00</committed-date>
  <authored-date>2008-11-17T10:47:18-08:00</authored-date>
  <message>Small tweak to fix progress issue when delegate is a UIProgressView (thanks to Roman Busyghin for this fix)</message>
  <tree>286c0176f19f094d3b851839091f75147c8e59e1</tree>
  <committer>
    <name>Ben Copsey</name>
    <email>ben@allseeing-i.com</email>
  </committer>
</commit>
