- Shut up a warning.

This commit is contained in:
Sylvain Pion 2000-11-29 11:26:20 +00:00
parent e8beb73775
commit 1292eb65a2
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ Geomview_stream::look_recenter() const
Geomview_stream&
Geomview_stream::operator<<(const std::string s)
{
if (s.length() != ::write(out, s.data(), s.length())) {
if ((int)s.length() != ::write(out, s.data(), s.length())) {
std::cerr << "write problem in the pipe while sending data to geomview"
<< std::endl;
exit(-1);