Fix a new warning on Cygwin
[binutils-gdb.git] / gdb / msp430-tdep.c
index 7458c784871af1f6eba36379abf336245238a9ba..28268a95139b50baf1335f1c84265069dbe456d7 100644 (file)
@@ -1,7 +1,7 @@
 /* Target-dependent code for the Texas Instruments MSP430 for GDB, the
    GNU debugger.
 
-   Copyright (C) 2012-2021 Free Software Foundation, Inc.
+   Copyright (C) 2012-2022 Free Software Foundation, Inc.
 
    Contributed by Red Hat, Inc.
 
@@ -203,7 +203,7 @@ msp430_register_name (struct gdbarch *gdbarch, int regnr)
 
 static int
 msp430_register_reggroup_p (struct gdbarch *gdbarch, int regnum,
-                           struct reggroup *group)
+                           const struct reggroup *group)
 {
   if (group == all_reggroup)
     return 1;