diff options
Diffstat (limited to 'src/legacy/i810')
-rw-r--r-- | src/legacy/i810/i810_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy/i810/i810_dri.c b/src/legacy/i810/i810_dri.c index 2f02dd92..2b3f1e19 100644 --- a/src/legacy/i810/i810_dri.c +++ b/src/legacy/i810/i810_dri.c @@ -959,7 +959,7 @@ I810DRIFinishScreenInit(ScreenPtr pScreen) ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); I810Ptr info = I810PTR(pScrn); - memset(sPriv, 0, sizeof(sPriv)); + memset(sPriv, 0, sizeof(*sPriv)); /* Have shadow run only while there is 3d active. */ |