From 79f30e79ec5b05b2052988e3e6edba8624e3d1c5 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Sat, 22 Oct 2005 05:50:22 +0000 Subject: [PATCH] Bug #328: Silence read-from-uninitialized warnings in DRM_CAS on Alpha. (David Dawes) --- libdrm/xf86drm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h index d2ca9579..30496d0d 100644 --- a/libdrm/xf86drm.h +++ b/libdrm/xf86drm.h @@ -319,8 +319,8 @@ typedef struct _drmSetVersion { " stl_c %1, %2\n" \ "1: xor %1, 1, %1\n" \ " stl %1, %3" \ - : "+r" (old32), \ - "+&r" (cur32), \ + : "=r" (old32), \ + "=&r" (cur32), \ "=m" (__drm_dummy_lock(lock)),\ "=m" (ret) \ : "r" (old), \