OSSP CVS Repository

ossp - Check-in [3393]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3393
Date: 2003-May-27 17:09:09 (local)
2003-May-27 15:09:09 (UTC)
User:ms
Branch:
Comment: Fix wrong type warning on SVR4.
Tickets:
Inspections:
Files:
ossp-pkg/rc/rc_script.c      1.25 -> 1.26     2 inserted, 2 deleted

ossp-pkg/rc/rc_script.c 1.25 -> 1.26

--- rc_script.c  2003/05/27 13:14:08     1.25
+++ rc_script.c  2003/05/27 15:09:09     1.26
@@ -216,7 +216,7 @@
             piSubtemp = strstr(szTemp, RC_DEF_PRG);
             if (piSubtemp) { /* Priority pattern found */
                 for (nTmp = (int)piSubtemp + strlen(RC_DEF_PRG);\
-                    isspace(*(char *)nTmp); nTmp += sizeof (char)); /* Strip */
+                    isspace(nTmp); nTmp += sizeof (char)); /* Strip */
                 nPri = strtol((char *)nTmp, &piSep, 10);
                 if ((char *)nTmp == piSep)  /* No priority number follows */
                     sectionSetpri(pSec, RC_DEF_PRI); /* which is an error */
@@ -230,7 +230,7 @@
             piSubtemp = strstr(szTemp, RC_DEF_UIG);
             if (piSubtemp) { /* Userid pattern found */
                 for (nTmp = (int)piSubtemp + strlen(RC_DEF_UIG); \
-                    isspace(*(char *)nTmp); nTmp += sizeof (char)); /* Strip */
+                    isspace(nTmp); nTmp += sizeof (char)); /* Strip */
                 nUid = strtol((char *)nTmp, &piSep, 10);
                 if ((char *)nTmp == piSep)      /* No userid number follows */
                 {

CVSTrac 2.0.1