diff options
Diffstat (limited to 'firmware/buffer.c')
-rw-r--r-- | firmware/buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/buffer.c b/firmware/buffer.c index 1eaff33de1..6af8eb9432 100644 --- a/firmware/buffer.c +++ b/firmware/buffer.c | |||
@@ -40,7 +40,9 @@ void *buffer_alloc(size_t size) | |||
40 | void *retval = audiobuf; | 40 | void *retval = audiobuf; |
41 | 41 | ||
42 | audiobuf += size; | 42 | audiobuf += size; |
43 | /* 32-bit aligned */; | 43 | /* 32-bit aligned */ |
44 | audiobuf = (void *)(((unsigned long)audiobuf + 3) & ~3); | 44 | audiobuf = (void *)(((unsigned long)audiobuf + 3) & ~3); |
45 | |||
45 | return retval; | 46 | return retval; |
46 | } | 47 | } |
48 | |||