PERFORCE change 28820 for review
Robert Drehmel
robert at FreeBSD.org
Sat Apr 12 08:41:23 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28820
Change 28820 by robert at robert_spes on 2003/04/12 08:40:57
Silenced two warning emissions by casting the const type-qualifier away.
Affected files ...
.. //depot/projects/mips/lib/libstand/environment.c#2 edit
Differences ...
==== //depot/projects/mips/lib/libstand/environment.c#2 (text+ko) ====
@@ -75,7 +75,7 @@
* for one already.
*/
if ((ev->ev_sethook != NULL) && !(flags & EV_NOHOOK))
- return(ev->ev_sethook(ev, flags, value));
+ return(ev->ev_sethook(ev, flags, (void *)value));
} else {
/*
@@ -126,7 +126,7 @@
if (flags & EV_VOLATILE) {
ev->ev_value = strdup(value);
} else {
- ev->ev_value = value;
+ ev->ev_value = (void *)value;
}
/* Keep the flag components that are relevant */
More information about the p4-projects
mailing list