Commit a8ce79c9 authored by Davis King's avatar Davis King

Changed code slightly to avoid warnings from gcc when -W -Wall is given.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403030
parent 00197638
......@@ -30,8 +30,8 @@ namespace dlib
public:
typedef long value_type;
const long nr() const { return int_img.nr(); }
const long nc() const { return int_img.nc(); }
long nr() const { return int_img.nr(); }
long nc() const { return int_img.nc(); }
template <typename image_type>
void load (
......
......@@ -225,7 +225,7 @@ namespace dlib
char junk[100];
// wait for the other end to close their side
while (con->read(junk,sizeof(junk)) > 0);
while (con->read(junk,sizeof(junk)) > 0) ;
}
catch (...)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment