Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* one more 32/64bit fix for XF86_S3
@ 1996-05-06 22:57 Harald Koenig
  0 siblings, 0 replies; only message in thread
From: Harald Koenig @ 1996-05-06 22:57 UTC (permalink / raw)


--- /soft/r6/xc/programs/Xserver/hw/xfree86/accel/s3/s3im.c.Df3	Tue May  7 00:51:23 1996
+++ xc/programs/Xserver/hw/xfree86/accel/s3/s3im.c	Tue May  7 00:50:40 1996
@@ -882,7 +882,7 @@
       short *psrcs = (short *)&psrc[px*s3Bpp];
       for (i = 0; i < w; ) {
 	 if (s3InfoRec.bitsPerPixel == 32) {
-	    outl (PIX_TRANS, *((long*)(psrcs)));
+	    outl (PIX_TRANS, *((int*)(psrcs)));
 	    psrcs+=2;
 	    i += 4;
 	 }

-- 
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-05-06 22:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-06 22:57 one more 32/64bit fix for XF86_S3 Harald Koenig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox