sim: change raddr to address_word
[deliverable/binutils-gdb.git] / gdb / ax-general.c
index e2ceb3de7061c84749faa5dc2164ccef13b437d5..69a26d230808f4989263f16d4b710fb8c3f4409f 100644 (file)
@@ -231,7 +231,7 @@ ax_const_l (struct agent_expr *x, LONGEST l)
      use the shortest representation.  */
   for (op = 0, size = 8; size < 64; size *= 2, op++)
     {
-      LONGEST lim = 1 << (size - 1);
+      LONGEST lim = ((LONGEST) 1) << (size - 1);
 
       if (-lim <= l && l <= lim - 1)
         break;
This page took 0.024437 seconds and 4 git commands to generate.