| Summary: | alsa-tools-1.0.9-r2 fails to build. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ian Kumlien <ian.kumlien> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
The error is: bitstream.c: In function 'bitstream_fill_current': bitstream.c:97: error: invalid lvalue in increment The line is: current_word = *((uint_32*)buffer_start)++; I mainly wanted to bounce this at some programmer out there since i'm tired as hell. Oviusly it doesn't like the uint_32 cast. Anyways, in my current sleep depraved state, i'm thinking that: current_word = 0xffffffff & *buffer_start; buffer_start += 4; Might fix it, since current_word will get a 32 bit value, and +4 will walk 4 bytes. Hurrm, now that i think of it, perhaps we should cast the value.. Anyways i hope someone with more experience gets a clue while i'm sleeping =) Reproducible: Always Steps to Reproduce: 1. emerge alsa-tools 2. 3.