Browse Source

yy_size_t

David Rose 16 years ago
parent
commit
870e983ae6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/egg/lexer.lxx

+ 1 - 1
panda/src/egg/lexer.lxx

@@ -162,7 +162,7 @@ eggyywarning(ostringstream &strm) {
 // Now define a function to take input from an istream instead of a
 // Now define a function to take input from an istream instead of a
 // stdio FILE pointer.  This is flex-specific.
 // stdio FILE pointer.  This is flex-specific.
 static void
 static void
-input_chars(char *buffer, int &result, int max_size) {
+input_chars(char *buffer, yy_size_t &result, int max_size) {
   nassertv(inp != NULL);
   nassertv(inp != NULL);
   if (*inp) {
   if (*inp) {
     inp->read(buffer, max_size);
     inp->read(buffer, max_size);