diff options
-rw-r--r-- | comm/MsgStream.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/comm/MsgStream.cc b/comm/MsgStream.cc index 07cb5c1..2f6f741 100644 --- a/comm/MsgStream.cc +++ b/comm/MsgStream.cc @@ -222,7 +222,7 @@ DBG (printf ("ProcessInput: ");) switch (State) { case WAITING: DBG (printf ("WAITING\n");) - buf.Get ((byte*) &InType); + buf.Get (InType); DBG (if (buf.Error ()) printf (" buf empty\n");) if (buf.Error ()) return; @@ -339,7 +339,7 @@ UchMsgStream :: HandleSelect () /*? This virtual function is called whenever a complete message is in the buffer. -The buffer contains exactly one message, so that you can use \com{buf.Get(&msg)} +The buffer contains exactly one message, so that you can use \com{buf.Get (msg)} to extract the message from the buffer. \var{ask} is TRUE if the message was sent with \fun{Ask}. In this case an answer must be sent back with \fun{Reply}. |