Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37711469
en ru br
ALT Linux repos
S:0.74.3-alt3
5.0: 0.72-alt7
4.1: 0.72-alt3
4.0: 0.72-alt4
3.0: 0.63-alt1.1

Group :: Emulators
RPM: dosbox

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: fix_werror_return_type.patch
Download


diff --git a/dosbox-0.74/src/debug/debug.cpp b/dosbox-0.74/src/debug/debug.cpp
index 118bb84..547f885 100644
--- a/dosbox-0.74/src/debug/debug.cpp
+++ b/dosbox-0.74/src/debug/debug.cpp
@@ -78,11 +78,11 @@ Bit32u GetHexValue(char* str, char*& hex);
 
 class DebugPageHandler : public PageHandler {
 public:
-	Bitu readb(PhysPt /*addr*/) {
+	Bitu readb(PhysPt /*addr*/) { return -1;
 	}
-	Bitu readw(PhysPt /*addr*/) {
+	Bitu readw(PhysPt /*addr*/) { return -1;
 	}
-	Bitu readd(PhysPt /*addr*/) {
+	Bitu readd(PhysPt /*addr*/) { return -1;
 	}
 	void writeb(PhysPt /*addr*/,Bitu /*val*/) {
 	}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin