[m-dev.] diff: fix types in MR_jmp_buf

Simon TAYLOR stayl at cs.mu.OZ.AU
Fri May 12 13:15:35 AEST 2000



Estimated hours taken: 0.1

runtime/mercury_engine.h:
	Make the types of the fields in the MR_jmp_buf structure
	which correspond to the trail global variables match the
	types of those variables.


Index: mercury_engine.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_engine.h,v
retrieving revision 1.16
diff -u -u -r1.16 mercury_engine.h
--- mercury_engine.h	2000/03/20 05:27:29	1.16
+++ mercury_engine.h	2000/05/12 03:00:07
@@ -88,9 +88,9 @@
 		Word *saved_sp;
 		Word *saved_curfr;
 		Word *saved_maxfr;
-		MR_IF_USE_TRAIL(Word *saved_trail_ptr;)
-		MR_IF_USE_TRAIL(Word *saved_ticket_counter;)
-		MR_IF_USE_TRAIL(Word *saved_ticket_high_water;)
+		MR_IF_USE_TRAIL(MR_TrailEntry *saved_trail_ptr;)
+		MR_IF_USE_TRAIL(Unsigned saved_ticket_counter;)
+		MR_IF_USE_TRAIL(Unsigned saved_ticket_high_water;)
 
 #if NUM_REAL_REGS > 0
 		Word regs[NUM_REAL_REGS];
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list