Bug 229026 - snes9x-1.5-23: array subscript out of range
Summary: snes9x-1.5-23: array subscript out of range
Status: RESOLVED DUPLICATE of bug 235591
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Holger Macht
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-15 21:39 UTC by David Binderman
Modified: 2007-01-26 09:29 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2006-12-15 21:39:48 UTC
I just tried to compile package snes9x-1.5-23
with the Intel C compiler.

The compiler said

bsx.cpp(771): warning #175: subscript out of range

The source code is

	t = BSX.PPU[0x2188];

but

dcb > find ../BUILD/snes9* -name \*.h -print | xargs grep "PPU\["
../BUILD/snes9x-1.5-src/bsx.h:  uint8   PPU[32];

Suggest code rework.
Comment 1 Stefan Dirsch 2007-01-16 22:32:50 UTC
Feel free to close as duplicate of Bug #235591.
Comment 2 Holger Macht 2007-01-26 09:29:47 UTC
So closing...

*** This bug has been marked as a duplicate of bug 235591 ***