Use 'static const char' instead of 'static const int'.
[oota-llvm.git] / lib / Transforms / Scalar / LowerPacked.cpp
index 11949dbc6742aebc1739a314732e681774d980e9..c80d14a763f0dbde6eeb9da331879fb0a29717d3 100644 (file)
@@ -40,7 +40,7 @@ namespace {
 class VISIBILITY_HIDDEN LowerPacked 
   : public FunctionPass, public InstVisitor<LowerPacked> {
 public:
-    static const int ID; // Pass identifcation, replacement for typeid
+    static const char ID; // Pass identifcation, replacement for typeid
     LowerPacked() : FunctionPass((intptr_t)&ID) {}
 
    /// @brief Lowers packed operations to scalar operations.
@@ -107,7 +107,7 @@ private:
    std::vector<Instruction*> instrsToRemove;
 };
 
-const int LowerPacked::ID = 0;
+const char LowerPacked::ID = 0;
 RegisterPass<LowerPacked>
 X("lower-packed",
   "lowers packed operations to operations on smaller packed datatypes");