diff options
author | Bad Diode <bd@badd10de.dev> | 2021-04-28 20:08:17 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-04-28 20:08:17 +0200 |
commit | 430f41efe79e260c1bb44dfabd7a867104466db5 (patch) | |
tree | 0c5fbceb55d006e8f6f74449a9a9d6490ca5a7ce | |
parent | 3beb8ab1693b8ecd2b34047fde915137feb57e22 (diff) | |
download | gba-experiments-430f41efe79e260c1bb44dfabd7a867104466db5.tar.gz gba-experiments-430f41efe79e260c1bb44dfabd7a867104466db5.zip |
Remove warnings
-rw-r--r-- | src/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index 7695683..ff5ea12 100644 --- a/src/common.h +++ b/src/common.h | |||
@@ -397,7 +397,7 @@ dma_copy(void *dst, const void *src, u32 size, int channel) { | |||
397 | // Fill the dst location with the word set at src. | 397 | // Fill the dst location with the word set at src. |
398 | inline void | 398 | inline void |
399 | dma_fill(void *dst, const void *src, u32 size, int channel) { | 399 | dma_fill(void *dst, const void *src, u32 size, int channel) { |
400 | dma_transfer_fill(dst, src, size / 4, channel, DMA_CHUNK_32 | DMA_ENABLE); | 400 | dma_transfer_fill(dst, (volatile u32)src, size / 4, channel, DMA_CHUNK_32 | DMA_ENABLE); |
401 | } | 401 | } |
402 | 402 | ||
403 | // | 403 | // |