[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-266) warning while compiling on some lab boxes

Jean-Frederic Clere (Created) (JIRA) jira-events at lists.jboss.org
Thu Oct 13 03:05:15 EDT 2011


warning while compiling on some lab boxes
-----------------------------------------

                 Key: MODCLUSTER-266
                 URL: https://issues.jboss.org/browse/MODCLUSTER-266
             Project: mod_cluster
          Issue Type: Bug
    Affects Versions: 1.1.3.Final
            Reporter: Jean-Frederic Clere
            Assignee: Jean-Frederic Clere
            Priority: Minor


size_t != int on any platform (on 64-bit its usually 64)
However think you are not using +2G sizes. However it might
break on negative values due to unsigned int64 -> int32 conversion.

.\mod_proxy_cluster.c(677) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(1026) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(1020) : warning C4101: 'name' : unreferenced local variable
.\mod_proxy_cluster.c(1092) : warning C4101: 'ret' : unreferenced local variable
.\mod_proxy_cluster.c(1225) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(1226) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
.\mod_proxy_cluster.c(1910) : warning C4244: 'return' : conversion from '__int64' to 'int', possible loss of data
.\mod_proxy_cluster.c(2040) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the mod_cluster-issues mailing list