[Bug 930] fails to build on avr32 cpu

[email protected] Tue, 15 Jun 2010 18:45:10 -0400
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
http://bugs.hylafax.org/show_bug.cgi?id=930





------- Comment #1 from [email protected]  2010-06-15 18:45 -------
Giuseppe, can you try with the following patch and tell me if it helps:

diff --git a/faxd/faxQueueApp.c++ b/faxd/faxQueueApp.c++
index 9a5edbe..1af9a74 100644
--- a/faxd/faxQueueApp.c++
+++ b/faxd/faxQueueApp.c++
@@ -1084,7 +1084,7 @@ faxQueueApp::preparePageChop(const FaxRequest& req,
        if (dec.getLastBlanks() > minRows)
        {
            pagehandling.append(fxStr::format("Z%04x",
-               fxmin((unsigned)0xFFFF, stripSize - (dec.getEndOfPage() -
data))));
+               fxmin((u_int)0xFFFF, (u_int)(stripSize - (dec.getEndOfPage() -
data)))));
        }
     }
     delete [] data;


-- 
Configure bugmail: http://bugs.hylafax.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null