fix warning

llvm-svn: 146420
diff --git a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp b/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
index 5a4e1d2..78e0b1c 100644
--- a/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
+++ b/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
@@ -142,7 +142,7 @@
   if (hasFP(MF)) {
     // Check for overflow.
     // Hexagon_TODO: Ugh! hardcoding. Is there an API that can be used?
-    const unsigned int ALLOCFRAME_MAX = 16384;
+    const int ALLOCFRAME_MAX = 16384;
     const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
 
     if (NumBytes >= ALLOCFRAME_MAX) {