small fixes to please gcc on Solaris and AIX
This commit is contained in:
parent
7b56a805a1
commit
bd36b18282
4
c/yp.c
4
c/yp.c
|
@ -89,7 +89,7 @@ s48_value scsh_yp_order(s48_value domain, s48_value map)
|
|||
|
||||
S48_GC_PROTECT_2(domain, map);
|
||||
r = yp_order(s48_extract_string(domain), s48_extract_string(map),
|
||||
&outorder);
|
||||
(int *) &outorder);
|
||||
i = (r == 0) ? s48_enter_integer(outorder) : S48_UNSPECIFIC;
|
||||
res = s48_list_2(s48_enter_integer(r), i);
|
||||
S48_GC_UNPROTECT();
|
||||
|
@ -174,6 +174,4 @@ void scsh_yp_main(void)
|
|||
S48_EXPORT_FUNCTION(scsh_yp_master);
|
||||
S48_EXPORT_FUNCTION(scsh_yp_first);
|
||||
S48_EXPORT_FUNCTION(scsh_yp_next);
|
||||
|
||||
return S48_UNSPECIFIC;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue