>From 0c8b7939fc95084d77063eb8de78b0724d3d4058 Mon Sep 17 00:00:00 2001 From: Pauli Nieminen <suok...@gmail.com> Date: Mon, 20 Jul 2009 17:00:45 +0300 Subject: [PATCH 11/15] libdrm: Make pci id numbers unsigned for sscanf.
--- libdrm/xf86drmMode.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libdrm/xf86drmMode.c b/libdrm/xf86drmMode.c index 0d080b8..9b4d5fb 100644 --- a/libdrm/xf86drmMode.c +++ b/libdrm/xf86drmMode.c @@ -574,7 +574,8 @@ int drmCheckModesettingSupported(const char *busid) { #ifdef __linux__ char pci_dev_dir[1024]; - int domain, bus, dev, func; + unsigned int domain, bus, dev; + int func; DIR *sysdir; struct dirent *dent; int found = 0, ret; -- 1.6.3.3 ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel