From 65d2cc98b80fcb6bb7c4f24c8745df033199af06 Mon Sep 17 00:00:00 2001
From: Jean-Paul Chaput <Jean-Paul.Chaput@lip6.fr>
Date: Wed, 14 May 2014 10:44:14 +0200
Subject: [PATCH] Small correction for latest gcc compiler (Fedora).

---
 crlcore/src/ccore/lefdef/LefExport.cpp | 4 +++-
 katabatic/src/katabatic/Session.h      | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/crlcore/src/ccore/lefdef/LefExport.cpp b/crlcore/src/ccore/lefdef/LefExport.cpp
index 6aa03c29..507bb7a8 100644
--- a/crlcore/src/ccore/lefdef/LefExport.cpp
+++ b/crlcore/src/ccore/lefdef/LefExport.cpp
@@ -1,7 +1,7 @@
 // -*- C++ -*-
 //
 // This file is part of the Coriolis Software.
-// Copyright (c) LIP6 2010-2013, All Rights Reserved
+// Copyright (c) LIP6 2010-2014, All Rights Reserved
 //
 // +-----------------------------------------------------------------+ 
 // |                   C O R I O L I S                               |
@@ -708,6 +708,8 @@ namespace {
 namespace CRL {
 
   using std::string;
+  using std::cerr;
+  using std::endl;
   using Hurricane::Library;
   using Hurricane::Transformation;
   using Hurricane::UpdateSession;
diff --git a/katabatic/src/katabatic/Session.h b/katabatic/src/katabatic/Session.h
index b9f0902b..643af7f3 100644
--- a/katabatic/src/katabatic/Session.h
+++ b/katabatic/src/katabatic/Session.h
@@ -201,7 +201,7 @@ namespace Katabatic {
   inline size_t                      Session::getLayerDepth        ( const Layer* layer ) { return getRoutingGauge()->getLayerDepth(layer); }
   inline const Layer*                Session::getRoutingLayer      ( size_t depth )       { return getRoutingGauge()->getRoutingLayer(depth); }
   inline const Layer*                Session::getContactLayer      ( size_t depth )       { return getRoutingGauge()->getContactLayer(depth); }
-  inline DbU::Unit                   Session::getPitch             ( unsigned int depth, unsigned int flags=Configuration::NoFlags ) { return get("getPitch(depth,flags)")->_getPitch( depth, flags ); }
+  inline DbU::Unit                   Session::getPitch             ( size_t depth, unsigned int flags=Configuration::NoFlags ) { return get("getPitch(depth,flags)")->_getPitch( depth, flags ); }
   inline DbU::Unit                   Session::getOffset            ( size_t depth )       { return getRoutingGauge()->getLayerOffset(depth); }
   inline DbU::Unit                   Session::getWireWidth         ( size_t depth )       { return getRoutingGauge()->getLayerWireWidth(depth); }
   inline DbU::Unit                   Session::getViaWidth          ( size_t depth )       { return getRoutingGauge()->getViaWidth(depth); }