fix
[libfirm] / ir / ana2 / ecg.c
index c75afc5..6b3c7d7 100644 (file)
@@ -1,17 +1,31 @@
 /* -*- c -*- */
 
 /*
- * Project:     libFIRM
- * File name:   ir/ana/ecg.c
- * Purpose:     Extended Call Graph
- * Author:      Florian
- * Modified by:
- * Created:     14.09.2004
- * CVS-ID:      $Id$
- * Copyright:   (c) 1999-2004 Universität Karlsruhe
- * Licence:     This file is protected by the GPL -  GNU GENERAL PUBLIC LICENSE.
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
  */
 
+/**
+ * @file
+ * @brief    Extended Call Graph
+ * @author   Florian
+ * @date     14.09.2004
+ * @version  $Id$
+ */
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
@@ -1198,8 +1212,8 @@ void ecg_report ()
         fprintf (dot, "\", color=\"green3\"];\n");
 
         fprintf (dot,
-                 "\tgraph_0x%08x -> ctx_0x%08x:HEAD [label=\"ctx\", dir=\"none\", style=\"dotted\"];\n",
-                 (int) graph, (int) graph);
+                 "\tgraph_0x%p -> ctx_0x%p:HEAD [label=\"ctx\", dir=\"none\", style=\"dotted\"];\n",
+                 graph, graph);
       }
     } else {
       fprintf (dot, "\t/* graph is not called */\n");
@@ -1266,7 +1280,7 @@ void ecg_ecg (void)
 \f
 
 /*
-  $Log$
+  $Log: ecg.c,v $
   Revision 1.23  2006/12/13 19:46:47  beck
   rename type entity into ir_entity