From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6549 invoked from network); 25 Oct 1999 10:20:08 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 Oct 1999 10:20:08 -0000 Received: from voicenet.com (mail12.voicenet.com [207.103.0.6]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id GAA11427 for ; Mon, 25 Oct 1999 06:20:08 -0400 Received: (qmail 4400 invoked from network); 25 Oct 1999 10:20:07 -0000 Received: from dialpool0203-pri.voicenet.com (HELO voicenet.com) (209.71.85.68) by mail12.voicenet.com with SMTP; 25 Oct 1999 10:20:07 -0000 Sender: gat@mail.redhat.com Message-ID: <38142EA1.E15C284@voicenet.com> Date: Mon, 25 Oct 1999 06:19:13 -0400 From: Uncle George Organization: Big-Endian X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com, Dan Morrill Subject: Re: Function parameter weirdness References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit yup, but it sppears that the 'sender' of the parameter has to know what type it is to get this picture correct. It was the same with postgresql & their JNI like interface. The caller had all the parameters set to be the longest dataum ( 64bit long ). The callee, had their parameter lists setup according to the sizeof the variable used ( ie char, short, int, long ). proper action would only be taken if both caller/callee passed/received longs in the parameter lists, AND then typecast their usage. gat Dan Morrill wrote: > > I even thought that might be the problem, but I assumed explicit casts would > take care of it.