freebsd-ports/x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c
Kris Kennaway b3583d09a3 Fix build on sparc64
Submitted by:	tmm
2003-11-24 12:25:08 +00:00

16 lines
536 B
C

--- lib/Mrm/MrmItop.c~ Fri Jan 11 14:56:23 2002
+++ lib/Mrm/MrmItop.c Sun Nov 23 19:42:03 2003
@@ -642,10 +642,11 @@
* Local variables
*/
Cardinal result ; /* function results */
+ IDBResource resid ;
if ( (result=Idb__FIL_Valid((IDBFile)file_id)) != MrmSUCCESS ) return result ;
- result = Idb__RID_NextRID ((IDBFile)file_id,
- (IDBResource *)resource_id_return) ;
+ result = Idb__RID_NextRID ((IDBFile)file_id, &resid) ;
+ if ( result == MrmSUCCESS ) *resource_id_return = resid;
return result ;
}