* valops.c (typecmp): If we are passing a non-reference to a function

which takes a reference, pass the address.
	(value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
	references here.
This commit is contained in:
Jim Kingdon 1993-08-02 22:41:50 +00:00
parent 4c7ff23d32
commit 802d630846

View file

@ -1,5 +1,10 @@
Mon Aug 2 12:06:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* valops.c (typecmp): If we are passing a non-reference to a function
which takes a reference, pass the address.
(value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
references here.
* thread.c (thread_switch): Define as static.
(add_thread): Cast return value from xmalloc.