[project @ 2005-05-31 05:59:57 by unknown_lamer]
[clinton/bobotpp.git] / source / Socket.C
index 33a42d0..8c5fb9d 100644 (file)
@@ -263,7 +263,7 @@ Socket::readLine()
   // that only the line that was just read is returned.
   static std::string buf (512, ' ');
 
-  int pos = 0; // pos in buffer
+  std::string::size_type pos = 0; // pos in buffer
   int nb; // number of bytes read by ::read
   char r; // temp var for storing output of read into
   std::string::size_type length = buf.length ();