diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-04-29 19:51:33 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-04-29 19:51:33 +0000 |
commit | d6b805efcf63a16a759f0a104db74c5e9c009f7d (patch) | |
tree | 2a73b6a3e15c2cf711a0c4f1ab12dd52687e003e /cpp/src/IcePack/Parser.cpp | |
parent | file UserExceptionFactory.h was initially added on branch slicing. (diff) | |
download | ice-d6b805efcf63a16a759f0a104db74c5e9c009f7d.tar.bz2 ice-d6b805efcf63a16a759f0a104db74c5e9c009f7d.tar.xz ice-d6b805efcf63a16a759f0a104db74c5e9c009f7d.zip |
Sun: 64 bit + CC 5.3 support
Diffstat (limited to 'cpp/src/IcePack/Parser.cpp')
-rw-r--r-- | cpp/src/IcePack/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/Parser.cpp b/cpp/src/IcePack/Parser.cpp index f0c00c7a1d1..24d2ecc6172 100644 --- a/cpp/src/IcePack/Parser.cpp +++ b/cpp/src/IcePack/Parser.cpp @@ -733,7 +733,7 @@ IcePack::Parser::getInput(char* buf, int& result, int maxSize) } } - result = line.length(); + result = (int) line.length(); if(result > maxSize) { error("input line too long"); @@ -749,7 +749,7 @@ IcePack::Parser::getInput(char* buf, int& result, int maxSize) } else { - if(((result = fread(buf, 1, maxSize, yyin)) == 0) && ferror(yyin)) + if(((result = (int) fread(buf, 1, maxSize, yyin)) == 0) && ferror(yyin)) { error("input in flex scanner failed"); buf[0] = EOF; |