Avoid undefined behavior in expression dumping
[deliverable/binutils-gdb.git] / gdb / expression.h
index bc7625f98427fb3168c2e00053ab947ef8303d55..a5cb4c678e73cbb897a84c83141ef28b5cc148ab 100644 (file)
@@ -39,7 +39,7 @@
    and skip that many.  Strings, like numbers, are indicated
    by the preceding opcode.  */
 
-enum exp_opcode
+enum exp_opcode : uint8_t
   {
 #define OP(name) name ,
 
This page took 0.025362 seconds and 4 git commands to generate.