diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2007-10-07 19:01:56 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2007-10-07 19:01:58 +0200 |
commit | 20928a2f2b3f1fa15c46edcf7e20f97566664ce8 (patch) | |
tree | 98e4d0a4991aac4e936b68072f8fad788d8a35f5 /shared-core | |
parent | 18952a167014f21545e3fda28ed2c09b09789323 (diff) |
nouveau: A char is signed, so it may overflow for >NV50.
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/nouveau_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index dc075d0c..fd80e1e7 100644 --- a/shared-core/nouveau_state.c +++ b/shared-core/nouveau_state.c @@ -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) |