[stsf-commit] stsf/STClientLibrary/src serverconnection.c,1.6,1.7

Alexander Gelfenbain stsf-commit at pdx.freedesktop.org
Wed May 26 21:26:54 PDT 2004


Committed by: adg


Index: serverconnection.c
===================================================================
RCS file: /cvs/stsf/stsf/STClientLibrary/src/serverconnection.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- a/serverconnection.c	26 May 2004 02:58:50 -0000	1.6
+++ b/serverconnection.c	27 May 2004 04:26:52 -0000	1.7
@@ -1084,7 +1084,7 @@
     for (i=0; i<gcount; i++) {
         if ((p = SharedCacheFind(cache, gk[i].scalerID, gk[i].instanceID, gk[i].glyphID, gk[i].fracdelta, &nbytes)) != NULL) {
             n++;
-            pptr[i] = SCPayloadSize > 0 ? (void *) p + sizeof(ScaledGlyphData) : (void *) 1;
+            pptr[i] = SCPayloadSize > 0 ? (void *) (p + sizeof(ScaledGlyphData)) : (void *) 1;
             gptr[i] = (void *) (p + SCPayloadSize + sizeof(ScaledGlyphData));      /* see stfs.h */
             sgd = (ScaledGlyphData *) p;
 




More information about the stsf-commit mailing list