Fix some minor issues found via static analysis
[platform/upstream/libunwind.git] / include / tdep-arm / libunwind_i.h
index 2602f41..0084054 100644 (file)
@@ -50,8 +50,8 @@ typedef struct
   {
     uint32_t virtual_address;
     int32_t frame_type     : 3;  /* unw_tdep_frame_type_t classification */
-    int32_t last_frame     : 1;  /* non-zero if last frame in chain */
-    int32_t cfa_reg_sp     : 1;  /* cfa dwarf base register is sp vs. r7 */
+    uint32_t last_frame    : 1;  /* non-zero if last frame in chain */
+    uint32_t cfa_reg_sp    : 1;  /* cfa dwarf base register is sp vs. r7 */
     int32_t cfa_reg_offset : 30; /* cfa is at this offset from base register value */
     int32_t r7_cfa_offset  : 30; /* r7 saved at this offset from cfa (-1 = not saved) */
     int32_t lr_cfa_offset  : 30; /* lr saved at this offset from cfa (-1 = not saved) */