diff options
-rw-r--r-- | x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c b/x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c new file mode 100644 index 000000000000..62e693af0399 --- /dev/null +++ b/x11-toolkits/open-motif/files/patch-lib::Mrm::MrmItop.c @@ -0,0 +1,16 @@ +--- 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 ; + + } |