nouveau: A char is signed, so it may overflow for >NV50.

main
Maarten Maathuis 2007-10-07 19:01:56 +02:00
parent 18952a1670
commit 20928a2f2b
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
struct drm_nouveau_private *dev_priv;
void __iomem *regs;
uint32_t reg0;
char architecture = 0;
uint8_t architecture = 0;
dev_priv = drm_calloc(1, sizeof(*dev_priv), DRM_MEM_DRIVER);
if (!dev_priv)