MIPS/Linux: Also recognize TRAP_BRKPT and TRAP_HWBKPT
[deliverable/binutils-gdb.git] / libiberty / regex.c
index cc9acdc2380c09fa02cfc271a87df568190d2243..9ffc3f47f006d89b7c046b704e7ac6cc0ae78d80 100644 (file)
@@ -151,7 +151,7 @@ char *realloc ();
 #    include <string.h>
 #    ifndef bzero
 #     ifndef _LIBC
-#      define bzero(s, n)      memset (s, '\0', n)
+#      define bzero(s, n)      ((void) memset (s, '\0', n))
 #     else
 #      define bzero(s, n)      __bzero (s, n)
 #     endif
@@ -685,7 +685,7 @@ typedef enum
 #  define EXTRACT_NUMBER(destination, source)                          \
   do {                                                                 \
     (destination) = *(source) & 0377;                                  \
-    (destination) += SIGN_EXTEND_CHAR (*((source) + 1)) << 8;          \
+    (destination) += ((unsigned) SIGN_EXTEND_CHAR (*((source) + 1))) << 8; \
   } while (0)
 # endif
 
This page took 0.055696 seconds and 4 git commands to generate.