Commit 95aecc5d authored by Yang Tse's avatar Yang Tse
Browse files

Fix compiler warning: comparison between signed and unsigned

parent f975fd03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -519,7 +519,7 @@ static int send_doc(int sock, struct httprequest *req)
    count = strlen(STREAMTHIS);
    while(1) {
      written = swrite(sock, STREAMTHIS, count);
      if(written != count) {
      if(written != (ssize_t)count) {
        logmsg("Stopped streaming");
        break;
      }