Skip to content

Commit

Permalink
Prepare for GCC 14
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesjer committed Nov 30, 2023
1 parent 3fa7dbc commit 38693b1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src.x11/bitmaps/checksym.bm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define checksym_width 12
#define checksym_height 12
static char checksym_bits[] = {
static const char checksym_bits[] = {
0x00, 0x00, 0x00, 0x04, 0x00, 0x06, 0x00, 0x03, 0x80, 0x01, 0xc0, 0x00,
0x62, 0x00, 0x36, 0x00, 0x1c, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00};
2 changes: 1 addition & 1 deletion src.x11/bitmaps/emptymk.bm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define emptymk_width 12
#define emptymk_height 12
static char emptymk_bits[] = {
static const char emptymk_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
2 changes: 1 addition & 1 deletion src.x11/bitmaps/exmark.bm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define exmark_width 32
#define exmark_height 32
static char exmark_bits[] = {
static const char exmark_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xc0, 0x01, 0x00,
0x00, 0x60, 0x03, 0x00, 0x00, 0x60, 0x03, 0x00, 0x00, 0x30, 0x06, 0x00,
0x00, 0x30, 0x06, 0x00, 0x00, 0x18, 0x0c, 0x00, 0x00, 0x18, 0x0c, 0x00,
Expand Down
2 changes: 1 addition & 1 deletion src.x11/bitmaps/menusym.bm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define menusym_width 12
#define menusym_height 12
static char menusym_bits[] = {
static const char menusym_bits[] = {
0xfe, 0x03, 0x02, 0x02, 0x02, 0x06, 0x72, 0x06, 0x02, 0x06, 0x72, 0x06,
0x02, 0x06, 0x72, 0x06, 0x02, 0x06, 0x02, 0x06, 0xfe, 0x07, 0xf8, 0x07};
2 changes: 1 addition & 1 deletion src.x11/bitmaps/return.bm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define return_width 9
#define return_height 7
static char return_bits[] = {
static const char return_bits[] = {
0x00, 0x00, 0x44, 0x00, 0x42, 0x00, 0x7d, 0x00, 0x02, 0x00, 0x04, 0x00,
0x00, 0x00};
2 changes: 1 addition & 1 deletion src.x11/xcmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ static Boolean FunChangeList (
text[i] = 0;

/* change list */
XawListChange( arg->sel->list, text, 0, 0, True );
XawListChange( arg->sel->list, (const char **)text, 0, 0, True );

/* clear old text */
for ( i = 0; arg->sel->text[i]; i++ )
Expand Down

0 comments on commit 38693b1

Please sign in to comment.