Use 'static const char' instead of 'static const int'.
[oota-llvm.git] / lib / Target / Sparc / FPMover.cpp
index 5596586f0c0d1b918754d6e6f56e65842a91d065..ca70a9ceb41cc95e8081974ddb64426fd41da274 100644 (file)
@@ -32,7 +32,7 @@ namespace {
     ///
     TargetMachine &TM;
     
-    static const int ID;
+    static const char ID;
     FPMover(TargetMachine &tm) 
       : MachineFunctionPass((intptr_t)&ID), TM(tm) { }
 
@@ -43,7 +43,7 @@ namespace {
     bool runOnMachineBasicBlock(MachineBasicBlock &MBB);
     bool runOnMachineFunction(MachineFunction &F);
   };
-  const int FPMover::ID = 0;
+  const char FPMover::ID = 0;
 } // end of anonymous namespace
 
 /// createSparcFPMoverPass - Returns a pass that turns FpMOVD