mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
fix Wshadow compil
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@769 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -479,14 +479,14 @@ int CFrameBuffer::setMode(unsigned int /*nxRes*/, unsigned int /*nyRes*/, unsign
|
||||
xRes = screeninfo.xres;
|
||||
yRes = screeninfo.yres;
|
||||
bpp = screeninfo.bits_per_pixel;
|
||||
fb_fix_screeninfo fix;
|
||||
fb_fix_screeninfo _fix;
|
||||
|
||||
if (ioctl(fd, FBIOGET_FSCREENINFO, &fix)<0) {
|
||||
if (ioctl(fd, FBIOGET_FSCREENINFO, &_fix)<0) {
|
||||
perror("FBIOGET_FSCREENINFO");
|
||||
return -1;
|
||||
}
|
||||
|
||||
stride = fix.line_length;
|
||||
stride = _fix.line_length;
|
||||
printf("FB: %dx%dx%d line length %d. %s nevis GXA accelerator.\n", xRes, yRes, bpp, stride,
|
||||
#ifdef USE_NEVIS_GXA
|
||||
"Using"
|
||||
|
Reference in New Issue
Block a user