simonspa / twitcurl

Automatically exported from code.google.com/p/twitcurl
0 stars 0 forks source link

std::min issue #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!
In the last update you added twitCurl::userLookup method and in this method you 
are using std::min like this: std::min(100U, userInfo.size()).
This code doesn't compile on OSX (LLVM 4.0) with error saying of incompatible 
types (unsigned int vs. unsigned long). Quick fix solution for this issue that 
worked for me is to use std::min something like this: std::min(100UL, 
userInfo.size()).

Original issue reported on code.google.com by arassa...@17bullets.com on 29 Aug 2012 at 9:26

GoogleCodeExporter commented 9 years ago
Thanks. Fixed in rev #93.

Original comment by swatkat....@gmail.com on 2 Sep 2012 at 8:17