From 0d7f2805b479bc0544ce70ea9cc6d2364b7ce70e Mon Sep 17 00:00:00 2001 From: Ralf Corsépius Date: Feb 18 2016 03:56:55 +0000 Subject: Add dx-narrowing.patch. --- diff --git a/.gitignore b/.gitignore index cc91304..2afacaa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -dx-4.4.4.tar.gz +/dx-4.4.4.tar.gz diff --git a/dx-narrowing.patch b/dx-narrowing.patch new file mode 100644 index 0000000..d3f4070 --- /dev/null +++ b/dx-narrowing.patch @@ -0,0 +1,499 @@ +From dbb15f15d3dc03748780f642a4b3e0882d2a1b2c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= +Date: Wed, 17 Feb 2016 15:20:27 +0100 +Subject: [PATCH] dx-narrowing + +--- + src/uipp/base/TreeView.C | 4 ++-- + src/uipp/base/minus.bm | 2 +- + src/uipp/base/plus.bm | 2 +- + src/uipp/dxuilib/AutoAxesDialog.C | 8 ++++---- + src/uipp/dxuilib/DXWindow.C | 2 +- + src/uipp/dxuilib/PageTab.C | 4 ++-- + src/uipp/dxuilib/VPEPostIt.C | 2 +- + src/uipp/dxuilib/anchor.bm | 2 +- + src/uipp/dxuilib/anim_mask.bm | 2 +- + src/uipp/dxuilib/animation.bm | 2 +- + src/uipp/dxuilib/pagedrag.bm | 2 +- + src/uipp/dxuilib/pagedragmask.bm | 2 +- + src/uipp/dxuilib/postit.bm | 2 +- + src/uipp/dxuilib/ticks_in.bm | 2 +- + src/uipp/dxuilib/ticks_in_ins.bm | 2 +- + src/uipp/dxuilib/ticks_out.bm | 2 +- + src/uipp/dxuilib/ticks_out_ins.bm | 2 +- + src/uipp/prompter/col_insens.bm | 2 +- + src/uipp/prompter/col_sens.bm | 2 +- + src/uipp/prompter/grid1.bm | 2 +- + src/uipp/prompter/grid2.bm | 2 +- + src/uipp/prompter/grid3.bm | 2 +- + src/uipp/prompter/grid4.bm | 2 +- + src/uipp/prompter/row_insens.bm | 2 +- + src/uipp/prompter/row_sens.bm | 2 +- + src/uipp/widgets/backward.bm | 2 +- + src/uipp/widgets/forward.bm | 2 +- + src/uipp/widgets/frame.bm | 2 +- + src/uipp/widgets/loop.bm | 2 +- + src/uipp/widgets/palim.bm | 2 +- + src/uipp/widgets/pause.bm | 2 +- + src/uipp/widgets/step.bm | 2 +- + src/uipp/widgets/stepb.bm | 2 +- + src/uipp/widgets/stepf.bm | 2 +- + src/uipp/widgets/stop.bm | 2 +- + 35 files changed, 40 insertions(+), 40 deletions(-) + +diff --git a/src/uipp/base/TreeView.C b/src/uipp/base/TreeView.C +index 8538be5..b7377c5 100644 +--- a/src/uipp/base/TreeView.C ++++ b/src/uipp/base/TreeView.C +@@ -316,9 +316,9 @@ void TreeView::paint() + } + + if (TreeView::Plus == XmUNSPECIFIED_PIXMAP) { +- TreeView::Plus = XCreatePixmapFromBitmapData(d,win,plus_bits,plus_width, ++ TreeView::Plus = XCreatePixmapFromBitmapData(d,win,(char*)plus_bits,plus_width, + plus_height,this->line_color,bg,depth); +- TreeView::Minus = XCreatePixmapFromBitmapData(d,win,minus_bits,minus_width, ++ TreeView::Minus = XCreatePixmapFromBitmapData(d,win,(char*)minus_bits,minus_width, + minus_height,this->line_color,bg,depth); + } + +diff --git a/src/uipp/base/minus.bm b/src/uipp/base/minus.bm +index 3312035..96d04fe 100644 +--- a/src/uipp/base/minus.bm ++++ b/src/uipp/base/minus.bm +@@ -1,6 +1,6 @@ + #define minus_width 12 + #define minus_height 14 +-static char minus_bits[] = { ++static unsigned char minus_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0xfe, 0x0f, 0x02, 0x08, 0x02, 0x08, 0x02, 0x08, + 0x02, 0x08, 0xfa, 0x0b, 0x02, 0x08, 0x02, 0x08, 0x02, 0x08, 0x02, 0x08, + 0xfe, 0x0f, 0x00, 0x00}; +diff --git a/src/uipp/base/plus.bm b/src/uipp/base/plus.bm +index cb3a87b..0af5f3d 100644 +--- a/src/uipp/base/plus.bm ++++ b/src/uipp/base/plus.bm +@@ -1,6 +1,6 @@ + #define plus_width 12 + #define plus_height 14 +-static char plus_bits[] = { ++static unsigned char plus_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0xfe, 0x0f, 0x02, 0x08, 0x42, 0x08, 0x42, 0x08, + 0x42, 0x08, 0xfa, 0x0b, 0x42, 0x08, 0x42, 0x08, 0x42, 0x08, 0x02, 0x08, + 0xfe, 0x0f, 0x00, 0x00}; +diff --git a/src/uipp/dxuilib/AutoAxesDialog.C b/src/uipp/dxuilib/AutoAxesDialog.C +index 0d5f1f4..95097a0 100644 +--- a/src/uipp/dxuilib/AutoAxesDialog.C ++++ b/src/uipp/dxuilib/AutoAxesDialog.C +@@ -1791,16 +1791,16 @@ AutoAxesDialog::AutoAxesDialog(ImageWindow* image) : + XmNdepth, &depth, XmNscreen, &scr, NULL); + Pixel fg = BlackPixelOfScreen(scr); + AutoAxesDialog::TicksIn = XCreatePixmapFromBitmapData (XtDisplay(root), +- XtWindow(root), ticks_in_bits, ticks_in_width, ticks_in_height, ++ XtWindow(root), (char*) ticks_in_bits, ticks_in_width, ticks_in_height, + fg, bg, depth); + AutoAxesDialog::TicksOut = XCreatePixmapFromBitmapData (XtDisplay(root), +- XtWindow(root), ticks_out_bits, ticks_out_width, ticks_out_height, ++ XtWindow(root), (char*) ticks_out_bits, ticks_out_width, ticks_out_height, + fg, bg, depth); + AutoAxesDialog::TicksInGrey = XCreatePixmapFromBitmapData (XtDisplay(root), +- XtWindow(root), ticks_in_ins_bits, ticks_in_ins_width, ticks_in_ins_height, ++ XtWindow(root), (char*) ticks_in_ins_bits, ticks_in_ins_width, ticks_in_ins_height, + fg, bg, depth); + AutoAxesDialog::TicksOutGrey = XCreatePixmapFromBitmapData (XtDisplay(root), +- XtWindow(root),ticks_out_ins_bits, ticks_out_ins_width, ticks_out_ins_height, ++ XtWindow(root), (char*) ticks_out_ins_bits, ticks_out_ins_width, ticks_out_ins_height, + fg, bg, depth); + + +diff --git a/src/uipp/dxuilib/DXWindow.C b/src/uipp/dxuilib/DXWindow.C +index a5e6bcb..cbee6df 100644 +--- a/src/uipp/dxuilib/DXWindow.C ++++ b/src/uipp/dxuilib/DXWindow.C +@@ -245,7 +245,7 @@ void DXWindow::createAnchor(boolean addPixmap) + XCreatePixmapFromBitmapData + (XtDisplay(this->menuBar), + wind, +- anchor_bits, ++ (char*) anchor_bits, + anchor_width, + anchor_height, + foreground, +diff --git a/src/uipp/dxuilib/PageTab.C b/src/uipp/dxuilib/PageTab.C +index 3561991..5e717e4 100644 +--- a/src/uipp/dxuilib/PageTab.C ++++ b/src/uipp/dxuilib/PageTab.C +@@ -96,9 +96,9 @@ void PageTab::createButton (Widget p) + PageTab::DragIcon = this->createDragIcon(pagedrag_width, pagedrag_height, + (char *)pagedrag_bits, (char *)pagedragmask_bits); + PageTab::AnimationPixmap = XCreateBitmapFromData(XtDisplay(p), +- XtWindow(p), animation_bits, animation_width, animation_height); ++ XtWindow(p), (char*)animation_bits, animation_width, animation_height); + PageTab::AnimationMaskPixmap = XCreateBitmapFromData(XtDisplay(p), +- XtWindow(p), anim_mask_bits, anim_mask_width, anim_mask_height); ++ XtWindow(p), (char*)anim_mask_bits, anim_mask_width, anim_mask_height); + PageTab::ClassInitialized = TRUE; + } + +diff --git a/src/uipp/dxuilib/VPEPostIt.C b/src/uipp/dxuilib/VPEPostIt.C +index 9881688..7377e8d 100644 +--- a/src/uipp/dxuilib/VPEPostIt.C ++++ b/src/uipp/dxuilib/VPEPostIt.C +@@ -213,7 +213,7 @@ void VPEPostIt::makePixmap() + XFreePixmap(d, this->bg_pixmap); + this->bg_pixmap = NUL(Pixmap); + } +- this->bg_pixmap = XCreatePixmapFromBitmapData(d, w, postit_bits, ++ this->bg_pixmap = XCreatePixmapFromBitmapData(d, w, (char*)postit_bits, + postit_width, postit_height, fg, bg, depth); + XtVaSetValues (this->customPart, + XmNlabelType, XmPIXMAP, +diff --git a/src/uipp/dxuilib/anchor.bm b/src/uipp/dxuilib/anchor.bm +index 1379314..69c2bf5 100644 +--- a/src/uipp/dxuilib/anchor.bm ++++ b/src/uipp/dxuilib/anchor.bm +@@ -2,7 +2,7 @@ + #define anchor_height 17 + #define anchor_x_hot -1 + #define anchor_y_hot -1 +-static char anchor_bits[] = { ++static unsigned char anchor_bits[] = { + 0x80, 0x03, 0x00, 0x40, 0x05, 0x00, 0xc0, 0x02, 0x00, 0x40, 0x05, 0x00, + 0x80, 0x02, 0x00, 0x10, 0x11, 0x00, 0x30, 0x09, 0x00, 0x50, 0x15, 0x00, + 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x83, 0x82, 0x00, 0x85, 0x41, 0x01, +diff --git a/src/uipp/dxuilib/anim_mask.bm b/src/uipp/dxuilib/anim_mask.bm +index 617d365..cb08c61 100644 +--- a/src/uipp/dxuilib/anim_mask.bm ++++ b/src/uipp/dxuilib/anim_mask.bm +@@ -1,6 +1,6 @@ + #define anim_mask_width 90 + #define anim_mask_height 23 +-static char anim_mask_bits[] = { ++static unsigned char anim_mask_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, + 0xf0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x3f, 0x00, +diff --git a/src/uipp/dxuilib/animation.bm b/src/uipp/dxuilib/animation.bm +index 1cf5798..3404b19 100644 +--- a/src/uipp/dxuilib/animation.bm ++++ b/src/uipp/dxuilib/animation.bm +@@ -1,6 +1,6 @@ + #define animation_width 90 + #define animation_height 23 +-static char animation_bits[] = { ++static unsigned char animation_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, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, +diff --git a/src/uipp/dxuilib/pagedrag.bm b/src/uipp/dxuilib/pagedrag.bm +index 5c9a2d0..8c8745d 100644 +--- a/src/uipp/dxuilib/pagedrag.bm ++++ b/src/uipp/dxuilib/pagedrag.bm +@@ -1,6 +1,6 @@ + #define pagedrag_width 32 + #define pagedrag_height 32 +-static char pagedrag_bits[] = { ++static unsigned char pagedrag_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0xfc, 0x3f, 0x00, 0x00, 0x04, 0x30, 0x00, 0x00, + 0x04, 0xf0, 0x01, 0x00, 0x04, 0xb0, 0x01, 0x00, 0x07, 0xf0, 0xff, 0x0f, + 0x01, 0x00, 0x00, 0x0c, 0x01, 0x00, 0x00, 0x0c, 0x01, 0x00, 0x00, 0x7c, +diff --git a/src/uipp/dxuilib/pagedragmask.bm b/src/uipp/dxuilib/pagedragmask.bm +index 8c5c420..f5ddb4c 100644 +--- a/src/uipp/dxuilib/pagedragmask.bm ++++ b/src/uipp/dxuilib/pagedragmask.bm +@@ -1,6 +1,6 @@ + #define pagedragmask_width 32 + #define pagedragmask_height 32 +-static char pagedragmask_bits[] = { ++static unsigned char pagedragmask_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0xfc, 0x3f, 0x00, 0x00, 0xfc, 0x3f, 0x00, 0x00, + 0x5c, 0xf5, 0x01, 0x00, 0xac, 0xfa, 0x01, 0x00, 0x5f, 0xf5, 0xff, 0x0f, + 0xaf, 0xfa, 0xff, 0x0f, 0x57, 0x55, 0x55, 0x0d, 0xab, 0xaa, 0xaa, 0x7e, +diff --git a/src/uipp/dxuilib/postit.bm b/src/uipp/dxuilib/postit.bm +index a67e1bf..aed0a05 100644 +--- a/src/uipp/dxuilib/postit.bm ++++ b/src/uipp/dxuilib/postit.bm +@@ -2,7 +2,7 @@ + #define postit_height 24 + #define postit_x_hot 11 + #define postit_y_hot 0 +-static char postit_bits[] = { ++static unsigned char postit_bits[] = { + 0x00, 0x00, 0x00, 0xaa, 0xaa, 0xaa, 0x54, 0x55, 0xd5, 0xaa, 0xaa, 0xaa, + 0x54, 0x41, 0xd5, 0xaa, 0xa8, 0xaa, 0x54, 0x75, 0xd5, 0xaa, 0xbc, 0xaa, + 0x54, 0x55, 0xd5, 0xaa, 0xaa, 0xaa, 0x54, 0x41, 0xd5, 0xaa, 0xa8, 0xaa, +diff --git a/src/uipp/dxuilib/ticks_in.bm b/src/uipp/dxuilib/ticks_in.bm +index 5e4d6a3..dd2ac91 100644 +--- a/src/uipp/dxuilib/ticks_in.bm ++++ b/src/uipp/dxuilib/ticks_in.bm +@@ -1,6 +1,6 @@ + #define ticks_in_width 18 + #define ticks_in_height 16 +-static char ticks_in_bits[] = { ++static unsigned char ticks_in_bits[] = { + 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, + 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x82, 0x20, 0x00, + 0x82, 0x20, 0x00, 0x92, 0x24, 0x01, 0x92, 0x24, 0x01, 0x92, 0x24, 0x01, +diff --git a/src/uipp/dxuilib/ticks_in_ins.bm b/src/uipp/dxuilib/ticks_in_ins.bm +index 890fae0..70ac5d9 100644 +--- a/src/uipp/dxuilib/ticks_in_ins.bm ++++ b/src/uipp/dxuilib/ticks_in_ins.bm +@@ -1,6 +1,6 @@ + #define ticks_in_ins_width 18 + #define ticks_in_ins_height 16 +-static char ticks_in_ins_bits[] = { ++static unsigned char ticks_in_ins_bits[] = { + 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x82, 0x20, 0x00, 0x10, 0x04, 0x01, 0x82, 0x20, 0x00, 0x10, 0x04, 0x01, +diff --git a/src/uipp/dxuilib/ticks_out.bm b/src/uipp/dxuilib/ticks_out.bm +index 718b5fc..f078a27 100644 +--- a/src/uipp/dxuilib/ticks_out.bm ++++ b/src/uipp/dxuilib/ticks_out.bm +@@ -1,6 +1,6 @@ + #define ticks_out_width 18 + #define ticks_out_height 16 +-static char ticks_out_bits[] = { ++static unsigned char ticks_out_bits[] = { + 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, + 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, + 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0xfe, 0xff, 0x03, 0x24, 0x49, 0x02, +diff --git a/src/uipp/dxuilib/ticks_out_ins.bm b/src/uipp/dxuilib/ticks_out_ins.bm +index 9f85654..793f843 100644 +--- a/src/uipp/dxuilib/ticks_out_ins.bm ++++ b/src/uipp/dxuilib/ticks_out_ins.bm +@@ -1,6 +1,6 @@ + #define ticks_out_ins_width 18 + #define ticks_out_ins_height 16 +-static char ticks_out_ins_bits[] = { ++static unsigned char ticks_out_ins_bits[] = { + 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0xaa, 0xaa, 0x02, 0x04, 0x41, 0x00, +diff --git a/src/uipp/prompter/col_insens.bm b/src/uipp/prompter/col_insens.bm +index 785de01..f52ceb8 100644 +--- a/src/uipp/prompter/col_insens.bm ++++ b/src/uipp/prompter/col_insens.bm +@@ -1,6 +1,6 @@ + #define col_insens_width 20 + #define col_insens_height 20 +-static char col_insens_bits[] = { ++static unsigned char col_insens_bits[] = { + 0x00, 0x00, 0x00, 0x55, 0x55, 0x05, 0x00, 0x00, 0x08, 0x00, 0x80, 0x02, + 0x00, 0x28, 0x00, 0x80, 0x02, 0x00, 0x28, 0x00, 0x00, 0x02, 0x00, 0x00, + 0x55, 0x55, 0x05, 0x00, 0x00, 0x08, 0x00, 0x80, 0x02, 0x00, 0x28, 0x00, +diff --git a/src/uipp/prompter/col_sens.bm b/src/uipp/prompter/col_sens.bm +index fb0dfff..666fb37 100644 +--- a/src/uipp/prompter/col_sens.bm ++++ b/src/uipp/prompter/col_sens.bm +@@ -1,6 +1,6 @@ + #define col_sens_width 20 + #define col_sens_height 20 +-static char col_sens_bits[] = { ++static unsigned char col_sens_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x0c, 0x00, 0xc0, 0x03, + 0x00, 0x3c, 0x00, 0xc0, 0x03, 0x00, 0x3c, 0x00, 0x00, 0x03, 0x00, 0x00, + 0xff, 0xff, 0x0f, 0x00, 0x00, 0x0c, 0x00, 0xc0, 0x03, 0x00, 0x3c, 0x00, +diff --git a/src/uipp/prompter/grid1.bm b/src/uipp/prompter/grid1.bm +index c4b02d1..3dca8d5 100644 +--- a/src/uipp/prompter/grid1.bm ++++ b/src/uipp/prompter/grid1.bm +@@ -1,6 +1,6 @@ + #define grid1_width 37 + #define grid1_height 37 +-static char grid1_bits[] = { ++static unsigned char grid1_bits[] = { + 0xff, 0xff, 0xff, 0xff, 0x1f, 0x41, 0x10, 0x04, 0x41, 0x10, 0x41, 0x10, + 0x04, 0x41, 0x10, 0x41, 0x10, 0x04, 0x41, 0x10, 0x41, 0x10, 0x04, 0x41, + 0x10, 0x41, 0x10, 0x04, 0x41, 0x10, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x41, +diff --git a/src/uipp/prompter/grid2.bm b/src/uipp/prompter/grid2.bm +index fec0808..7e78d44 100644 +--- a/src/uipp/prompter/grid2.bm ++++ b/src/uipp/prompter/grid2.bm +@@ -1,6 +1,6 @@ + #define grid2_width 37 + #define grid2_height 37 +-static char grid2_bits[] = { ++static unsigned char grid2_bits[] = { + 0xff, 0xff, 0xff, 0xff, 0x1f, 0x41, 0x0a, 0x40, 0x02, 0x10, 0x41, 0x0a, + 0x40, 0x02, 0x10, 0x41, 0x0a, 0x40, 0x02, 0x10, 0xff, 0xff, 0xff, 0xff, + 0x1f, 0x41, 0x0a, 0x40, 0x02, 0x10, 0x41, 0x0a, 0x40, 0x02, 0x10, 0xff, +diff --git a/src/uipp/prompter/grid3.bm b/src/uipp/prompter/grid3.bm +index ba8737b..6597dca 100644 +--- a/src/uipp/prompter/grid3.bm ++++ b/src/uipp/prompter/grid3.bm +@@ -1,6 +1,6 @@ + #define grid3_width 37 + #define grid3_height 37 +-static char grid3_bits[] = { ++static unsigned char grid3_bits[] = { + 0x00, 0xf0, 0xff, 0x01, 0x00, 0x00, 0x0f, 0x04, 0x1e, 0x00, 0xe0, 0x00, + 0x04, 0xe0, 0x00, 0x98, 0x00, 0x04, 0x20, 0x03, 0x86, 0x00, 0x04, 0x20, + 0x0c, 0x01, 0x01, 0x04, 0x10, 0x10, 0x01, 0x01, 0x04, 0x10, 0x10, 0x02, +diff --git a/src/uipp/prompter/grid4.bm b/src/uipp/prompter/grid4.bm +index 8227875..2b48a36 100644 +--- a/src/uipp/prompter/grid4.bm ++++ b/src/uipp/prompter/grid4.bm +@@ -1,6 +1,6 @@ + #define grid4_width 37 + #define grid4_height 37 +-static char grid4_bits[] = { ++static unsigned char grid4_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x06, 0x18, 0x00, + 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, + 0x00, 0x00, 0x30, 0x18, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, +diff --git a/src/uipp/prompter/row_insens.bm b/src/uipp/prompter/row_insens.bm +index 9da9b69..72287a3 100644 +--- a/src/uipp/prompter/row_insens.bm ++++ b/src/uipp/prompter/row_insens.bm +@@ -1,6 +1,6 @@ + #define row_insens_width 20 + #define row_insens_height 20 +-static char row_insens_bits[] = { ++static unsigned char row_insens_bits[] = { + 0x02, 0x81, 0x00, 0x80, 0x40, 0x00, 0x02, 0x81, 0x00, 0x40, 0x20, 0x00, + 0x02, 0x81, 0x00, 0x40, 0x20, 0x00, 0x02, 0x81, 0x00, 0x20, 0x10, 0x00, + 0x02, 0x81, 0x00, 0x20, 0x10, 0x00, 0x02, 0x81, 0x00, 0x10, 0x08, 0x00, +diff --git a/src/uipp/prompter/row_sens.bm b/src/uipp/prompter/row_sens.bm +index b51f400..9c0b278 100644 +--- a/src/uipp/prompter/row_sens.bm ++++ b/src/uipp/prompter/row_sens.bm +@@ -1,6 +1,6 @@ + #define row_sens_width 20 + #define row_sens_height 20 +-static char row_sens_bits[] = { ++static unsigned char row_sens_bits[] = { + 0x82, 0xc1, 0x00, 0x82, 0xc1, 0x00, 0x42, 0xa1, 0x00, 0x42, 0xa1, 0x00, + 0x42, 0xa1, 0x00, 0x42, 0xa1, 0x00, 0x22, 0x91, 0x00, 0x22, 0x91, 0x00, + 0x22, 0x91, 0x00, 0x22, 0x91, 0x00, 0x12, 0x89, 0x00, 0x12, 0x89, 0x00, +diff --git a/src/uipp/widgets/backward.bm b/src/uipp/widgets/backward.bm +index a968c46..a687095 100644 +--- a/src/uipp/widgets/backward.bm ++++ b/src/uipp/widgets/backward.bm +@@ -33,7 +33,7 @@ Initial revision + + #define backward_width 12 + #define backward_height 15 +-static char backward_bits[] = { ++static unsigned char backward_bits[] = { + 0x00, 0x08, 0x00, 0x0e, 0x00, 0x0f, 0xc0, 0x0f, 0xf0, 0x0f, 0xf8, 0x0f, + 0xfe, 0x0f, 0xff, 0x0f, 0xfe, 0x0f, 0xf8, 0x0f, 0xf0, 0x0f, 0xc0, 0x0f, + 0x00, 0x0f, 0x00, 0x0e, 0x00, 0x08 }; +diff --git a/src/uipp/widgets/forward.bm b/src/uipp/widgets/forward.bm +index 40f0626..ae7b5b1 100644 +--- a/src/uipp/widgets/forward.bm ++++ b/src/uipp/widgets/forward.bm +@@ -33,7 +33,7 @@ Initial revision + + #define forward_width 12 + #define forward_height 15 +-static char forward_bits[] = { ++static unsigned char forward_bits[] = { + 0x01, 0x00, 0x07, 0x00, 0x0f, 0x00, 0x3f, 0x00, 0xff, 0x00, 0xff, 0x01, + 0xff, 0x07, 0xff, 0x0f, 0xff, 0x07, 0xff, 0x01, 0xff, 0x00, 0x3f, 0x00, + 0x0f, 0x00, 0x07, 0x00, 0x01, 0x00 }; +diff --git a/src/uipp/widgets/frame.bm b/src/uipp/widgets/frame.bm +index 40dfed3..85e3986 100644 +--- a/src/uipp/widgets/frame.bm ++++ b/src/uipp/widgets/frame.bm +@@ -33,7 +33,7 @@ Initial revision + + #define frame_width 22 + #define frame_height 16 +-static char frame_bits[] = { ++static unsigned char frame_bits[] = { + 0xff, 0xff, 0xff, 0xcc, 0xcc, 0xcc, 0xff, 0xff, 0xff, 0x81, 0x40, 0xe0, + 0x81, 0x40, 0xe0, 0x81, 0x40, 0xe0, 0x81, 0x40, 0xe0, 0x81, 0x40, 0xe0, + 0x81, 0x40, 0xe0, 0x81, 0x40, 0xe0, 0x81, 0x40, 0xe0, 0x81, 0x40, 0xe0, +diff --git a/src/uipp/widgets/loop.bm b/src/uipp/widgets/loop.bm +index 9ffd07c..d28878c 100644 +--- a/src/uipp/widgets/loop.bm ++++ b/src/uipp/widgets/loop.bm +@@ -33,7 +33,7 @@ Initial revision + + #define loop_width 24 + #define loop_height 16 +-static char loop_bits[] = { ++static unsigned char loop_bits[] = { + 0x00, 0x00, 0x00, 0xf0, 0xff, 0x0f, 0xfc, 0xff, 0x3f, 0x1e, 0x00, 0x78, + 0x06, 0x00, 0x60, 0x07, 0x00, 0xe0, 0x03, 0x00, 0xc0, 0x03, 0x00, 0xc0, + 0x03, 0x00, 0xc0, 0x07, 0x00, 0xe0, 0xc6, 0x00, 0x60, 0x9e, 0x03, 0x78, +diff --git a/src/uipp/widgets/palim.bm b/src/uipp/widgets/palim.bm +index 1f7c4a9..1f572c6 100644 +--- a/src/uipp/widgets/palim.bm ++++ b/src/uipp/widgets/palim.bm +@@ -33,7 +33,7 @@ Initial revision + + #define palim_width 24 + #define palim_height 15 +-static char palim_bits[] = { ++static unsigned char palim_bits[] = { + 0x00, 0x00, 0x00, 0xff, 0x03, 0x02, 0xff, 0x07, 0x01, 0x00, 0x8e, 0x00, + 0x18, 0x4c, 0x00, 0x0e, 0x2e, 0x00, 0xff, 0xd7, 0xff, 0xff, 0xeb, 0xff, + 0x0e, 0x74, 0x00, 0x18, 0x32, 0x18, 0x00, 0x71, 0x70, 0x80, 0xe0, 0xff, +diff --git a/src/uipp/widgets/pause.bm b/src/uipp/widgets/pause.bm +index 884183a..b7f41b9 100644 +--- a/src/uipp/widgets/pause.bm ++++ b/src/uipp/widgets/pause.bm +@@ -33,6 +33,6 @@ Initial revision + + #define pause_width 8 + #define pause_height 15 +-static char pause_bits[] = { ++static unsigned char pause_bits[] = { + 0xe7, 0xe7, 0xe7, 0xe7, 0xe7, 0xe7, 0xe7, 0xe7, 0xe7, 0xe7, 0xe7, 0xe7, + 0xe7, 0xe7, 0xe7, 0x00}; +diff --git a/src/uipp/widgets/step.bm b/src/uipp/widgets/step.bm +index 08208f3..ed1d02e 100644 +--- a/src/uipp/widgets/step.bm ++++ b/src/uipp/widgets/step.bm +@@ -33,7 +33,7 @@ Initial revision + + #define step_width 24 + #define step_height 10 +-static char step_bits[] = { ++static unsigned char step_bits[] = { + 0x40, 0x66, 0x02, 0x70, 0x66, 0x0e, 0x78, 0x66, 0x1e, 0x7e, 0x66, 0x7e, + 0x7f, 0x66, 0xfe, 0x7f, 0x66, 0xfe, 0x7e, 0x66, 0x7e, 0x78, 0x66, 0x1e, + 0x70, 0x66, 0x0e, 0x40, 0x66, 0x02}; +diff --git a/src/uipp/widgets/stepb.bm b/src/uipp/widgets/stepb.bm +index 1bd3aac..1cce934 100644 +--- a/src/uipp/widgets/stepb.bm ++++ b/src/uipp/widgets/stepb.bm +@@ -33,7 +33,7 @@ Initial revision + + #define stepb_width 20 + #define stepb_height 15 +-static char stepb_bits[] = { ++static unsigned char stepb_bits[] = { + 0x00, 0xc8, 0x0c, 0x00, 0xce, 0x0c, 0x00, 0xcf, 0x0c, 0xc0, 0xcf, 0x0c, + 0xf0, 0xcf, 0x0c, 0xf8, 0xcf, 0x0c, 0xfe, 0xcf, 0x0c, 0xff, 0xcf, 0x0c, + 0xfe, 0xcf, 0x0c, 0xf8, 0xcf, 0x0c, 0xf0, 0xcf, 0x0c, 0xc0, 0xcf, 0x0c, +diff --git a/src/uipp/widgets/stepf.bm b/src/uipp/widgets/stepf.bm +index 6bd05b6..07cef57 100644 +--- a/src/uipp/widgets/stepf.bm ++++ b/src/uipp/widgets/stepf.bm +@@ -33,7 +33,7 @@ Initial revision + + #define stepf_width 20 + #define stepf_height 15 +-static char stepf_bits[] = { ++static unsigned char stepf_bits[] = { + 0x33, 0x01, 0x00, 0x33, 0x07, 0x00, 0x33, 0x0f, 0x00, 0x33, 0x3f, 0x00, + 0x33, 0xff, 0x00, 0x33, 0xff, 0x01, 0x33, 0xff, 0x07, 0x33, 0xff, 0x0f, + 0x33, 0xff, 0x07, 0x33, 0xff, 0x01, 0x33, 0xff, 0x00, 0x33, 0x3f, 0x00, +diff --git a/src/uipp/widgets/stop.bm b/src/uipp/widgets/stop.bm +index 12e7a6b..7a9f4b1 100644 +--- a/src/uipp/widgets/stop.bm ++++ b/src/uipp/widgets/stop.bm +@@ -33,6 +33,6 @@ Initial revision + + #define stop_width 10 + #define stop_height 10 +-static char stop_bits[] = { ++static unsigned char stop_bits[] = { + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; +-- +2.5.0 +