Eliminate extra period in OS/2 error messages.
authorChris Hanson <org/chris-hanson/cph>
Fri, 6 Jan 1995 22:15:45 +0000 (22:15 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 6 Jan 1995 22:15:45 +0000 (22:15 +0000)
v7/src/microcode/os2top.c

index 4c4d9d36b33cffbc3fdaf88d964884a993da725b..ff746230a98354377c96e10aad65bda34ab705fe 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: os2top.c,v 1.8 1995/01/06 22:14:29 cph Exp $
+$Id: os2top.c,v 1.9 1995/01/06 22:15:45 cph Exp $
 
 Copyright (c) 1994-95 Massachusetts Institute of Technology
 
@@ -1552,7 +1552,7 @@ OS_error_code_to_message (unsigned int syserr)
     {
       unsigned int length = (strlen (last_message));
       if ((length > 0) && ((last_message [length - 1]) == '.'))
-       (last_message [length - 1]) = '\0';
+       (((char *) last_message) [length - 1]) = '\0';
     }
   return (last_message);
 }