Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lkundrak:poulsbo
xorg-x11-drv-psb
0001-Fix-up-buildservice-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-up-buildservice-warnings.patch of Package xorg-x11-drv-psb
From d5e215422c507c008b0e7ee2df898e196ae63433 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel <lkundrak@v3.sk> Date: Sat, 12 Dec 2009 20:22:04 +0100 Subject: [PATCH] Fix up buildservice warnings E: xorg-x11-drv-psb 64bit-portability-issue psb_overlay.c:413 I: Program returns random data in a function E: xorg-x11-drv-psb no-return-in-nonvoid-function mm_drm.c:82, 70 I: Program returns random data in a function E: xorg-x11-drv-psb no-return-in-nonvoid-function mm_drm.c:70 --- libmm/mm_drm.c | 2 ++ src/psb_overlay.c | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libmm/mm_drm.c b/libmm/mm_drm.c index 7fbacdc..5557e9b 100644 --- a/libmm/mm_drm.c +++ b/libmm/mm_drm.c @@ -67,6 +67,7 @@ initMemType(MMManager * man, unsigned long pOffset, return ret; drmMM->initialized[memType] = 1; + return 0; } static int @@ -79,6 +80,7 @@ takeDownMemType(MMManager * man, int memType) if (ret) return ret; drmMM->initialized[memType] = 0; + return 0; } static int diff --git a/src/psb_overlay.c b/src/psb_overlay.c index 4bc7cf0..e6d2e7a 100644 --- a/src/psb_overlay.c +++ b/src/psb_overlay.c @@ -410,7 +410,7 @@ void psb_overlay_write_reglist(xf86CrtcPtr crtc, POVERLAY_REGS reglist, int turn } /* Tell DC Hardware to read in overlay reg list*/ - memcpy(buf_virtual, reglist, sizeof(OVERLAY_REGS)); + memcpy((void *)buf_virtual, reglist, sizeof(OVERLAY_REGS)); PSB_WRITE32(OVADD, buf_addr | BIT0); //XXX why | BIT0? if (!turnon) { -- 1.6.5.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