summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-31 12:17:38 -0700
committerKeith Packard <keithp@keithp.com>2014-01-23 13:31:54 -0800
commite42cca747da33ae113fd89f226789cd5edeaefa9 (patch)
tree69b361dc0362fe2d6466e98e9ca06b00caf6102c
parent6fdedb06cdb0e97114bf4057f54f7cb8be6d5110 (diff)
legacy/i810: Eliminate a shadow declaration warningdri3
Rename 'dp' as '_dp' to avoid a warning from the compiler. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--src/legacy/i810/xvmc/I810XvMC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/legacy/i810/xvmc/I810XvMC.c b/src/legacy/i810/xvmc/I810XvMC.c
index e6b63d30..c01145de 100644
--- a/src/legacy/i810/xvmc/I810XvMC.c
+++ b/src/legacy/i810/xvmc/I810XvMC.c
@@ -720,11 +720,11 @@ void dp(unsigned int *address, unsigned int i) {
***************************************************************************/
#define PACK_INTRA_DATA(d,b,n) \
do { \
- char *dp = (char *)d; \
+ char *_dp = (char *)d; \
char *bp = (char *)b; \
int counter; \
for(counter = 0; counter < n; counter++) { \
- *dp++ = *bp; \
+ *_dp++ = *bp; \
bp += 2; \
} \
}while(0);