+2009-09-20 Kai Tietz <kai.tietz@onevision.com>
+ Pascal Obry <obry@adacore.com>
+
+ * unwind-dw2-fde.c (classify_object_over_fdes):
+ Cast the constant 1 to _Unwind_Ptr.
+ (add_fdes): Likewise.
+ (linear_search_fdes): Likewise.
+
2009-09-20 Eric Botcazou <ebotcazou@adacore.com>
* stor-layout.c (set_sizetype): Avoid useless type copy.
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
- mask = (1L << (mask << 3)) - 1;
+ mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1;
else
mask = -1;
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
- mask = (1L << (mask << 3)) - 1;
+ mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1;
else
mask = -1;
be representable. Assume 0 in the representable bits is NULL. */
mask = size_of_encoded_value (encoding);
if (mask < sizeof (void *))
- mask = (1L << (mask << 3)) - 1;
+ mask = (((_Unwind_Ptr) 1) << (mask << 3)) - 1;
else
mask = -1;