Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/02c4f41730b234728a408bbf29607d0345d2b481

>---------------------------------------------------------------

commit 02c4f41730b234728a408bbf29607d0345d2b481
Author: Ian Lynagh <[email protected]>
Date:   Wed Jun 1 01:07:01 2011 +0100

    Fix a warning in DEBUG code

>---------------------------------------------------------------

 rts/Trace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rts/Trace.c b/rts/Trace.c
index 58f77ed..70f4a39 100644
--- a/rts/Trace.c
+++ b/rts/Trace.c
@@ -267,7 +267,7 @@ void traceCapsetModify_ (EventTypeNum tag,
         tracePreface();
         switch (tag) {
         case EVENT_CAPSET_CREATE:   // (capset, capset_type)
-            debugBelch("created capset %lu of type %d\n", (lnat)capset, other);
+            debugBelch("created capset %lu of type %d\n", (lnat)capset, 
(int)other);
             break;
         case EVENT_CAPSET_DELETE:   // (capset)
             debugBelch("deleted capset %lu\n", (lnat)capset);



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to