Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
deadbeef
0001-Explicitly-specify-signedness-for-char.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Explicitly-specify-signedness-for-char.patch of Package deadbeef
From a3c6b61ccd78ed0eaa88720d0ba627c6125e64b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de> Date: Thu, 2 Nov 2017 18:24:10 +0100 Subject: [PATCH 1/3] Explicitly specify signedness for char char is unsigned on ARM/PPC, be explicit to avoid warnings/errors --- plugins/adplug/adplug/s3m.cpp | 2 +- plugins/adplug/adplug/s3m.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/adplug/adplug/s3m.cpp b/plugins/adplug/adplug/s3m.cpp index 173a7563..2158baeb 100644 --- a/plugins/adplug/adplug/s3m.cpp +++ b/plugins/adplug/adplug/s3m.cpp @@ -26,7 +26,7 @@ #include <string.h> #include "s3m.h" -const char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion +const signed char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1}; const unsigned short Cs3mPlayer::notetable[12] = // S3M adlib note table diff --git a/plugins/adplug/adplug/s3m.h b/plugins/adplug/adplug/s3m.h index cf58c44b..a00404cd 100644 --- a/plugins/adplug/adplug/s3m.h +++ b/plugins/adplug/adplug/s3m.h @@ -92,7 +92,7 @@ class Cs3mPlayer: public CPlayer char filetype[30]; private: - static const char chnresolv[]; + static const signed char chnresolv[]; static const unsigned short notetable[12]; static const unsigned char vibratotab[32]; -- 2.14.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor