Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harald Koenig <koenig@tat.physik.uni-tuebingen.de>
Subject: one more 32/64bit fix for XF86_S3
Date: Tue, 7 May 1996 00:57:10 +0200 (MET DST)	[thread overview]
Message-ID: <9605070748.AA16786@nova.tat.physik.uni-tuebingen.de> (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                     ^^^^^       ^^^^^

                 reply	other threads:[~1996-05-06 22:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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