title: error: no matching function for call to ‘min(long unsigned int&, unsigned int&)’
body: <p>I'm using ubuntu 12.04 - 64 bits. I tested it with boost 1.46, 1.48, 1.52 and 
  gcc 4.4 and 4.6
  When I try to compile:</p>
  
  <pre><code>while (m_burstReqBeatsRemain) {
                  if (m_burstReqAddress % m_dramRowSize == 0) {
                      m_admRequestQueue.push_back(adm_request());
                      adm_request &amp;req = m_admRequestQueue.back();
                      req.address = m_burstReqAddress;
                      req.command = tlm::TLM_READ_COMMAND;
                      //call to min function
                      req.readLen = std::min(m_burstReqBeatsRemain * sizeof(Td), m_dramRowSize);
                  }
                  m_burstReqBeatsRemain--;
                  m_burstReqAddress += sizeof(Td);
                  m_ocpTxnQueue.push_back(m_ocpReq);
  }
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>no matching function for call to ‘min(long unsigned int&amp;, unsigned int&amp;)
  from /usr/include/c++/4.6/bits/stl_algobase.h*
  </code></pre>
  
  <p>Note: with ubuntu 12.04 32 bits works fine</p>
  
  <p>Any idea how I can fix this?</p>