dpi/downloads.cc patch

Rob S <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hello all,

I have been away for a bit, and had to catch up with some of the mail
on the list.  Looks like you are moving things along quite nicely!

I built the latest version, and I can confirm that Jorges patch for
the search dialogue seems to be working nicely.  When I built it
though, I got a warning from Clang.  The following seems to quiet the
warning in Clang, and does not seem to generate any issues with gcc
for the compile:

diff -r 49c3e24bf746 dpi/downloads.cc
--- a/dpi/downloads.cc	Fri Jul 29 20:19:08 2011 -0400
+++ b/dpi/downloads.cc	Sat Jul 30 08:19:02 2011 -0400
@@ -516,7 +516,7 @@

    // FSM to remove wget's "dot-progress" (i.e. "^ " || "^[0-9]+K")
    q = log_text + log_len;
-   for (p = esc_str; (p - esc_str) < esc_len; ++p) {
+   for (p = esc_str; (size_t)(p - esc_str) < esc_len; ++p) {
       switch (log_state) {
       case ST_newline:
          if (*p == ' ') {

Regards,

Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.