diff src/video/SDL_blit_A.c @ 1487:dc6b59e925a2

Cleaning up warnings on MacOS X
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Mar 2006 06:33:21 +0000
parents 84de7511f79f
children a8bf1aa21020
line wrap: on
line diff
--- a/src/video/SDL_blit_A.c	Wed Mar 08 18:30:12 2006 +0000
+++ b/src/video/SDL_blit_A.c	Thu Mar 09 06:33:21 2006 +0000
@@ -502,7 +502,7 @@
     if (!dstfmt) {
         dstfmt = &default_pixel_format;
     }
-    vector unsigned char plus = VECUINT8_LITERAL
+    const vector unsigned char plus = VECUINT8_LITERAL
                                             ( 0x00, 0x00, 0x00, 0x00,
                                               0x04, 0x04, 0x04, 0x04,
                                               0x08, 0x08, 0x08, 0x08,
@@ -863,8 +863,8 @@
         }
         ONE_PIXEL_BLEND((UNALIGNED_PTR(dstp)) && (width), width);
         if (width > 0) {
-            // vsrcPermute
-            // vdstPermute
+            /* vsrcPermute */
+            /* vdstPermute */
             int extrawidth = (width % 4);
             vector unsigned char valigner = VEC_ALIGNER(srcp);
             vector unsigned char vs = (vector unsigned char)vec_ld(0, srcp);