Changeset 5210:8eb738dee9d4 in roaraudio for roard/light.c
- Timestamp:
- 11/01/11 12:23:05 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/light.c
r5194 r5210 33 33 // // 34 34 35 int light_init (u nsigned int channels) {35 int light_init (uint32_t channels) { 36 36 struct roar_stream_server * ss; 37 37 int i; … … 39 39 g_light_state.channels = 0; 40 40 41 if ( channels == 0 || channels > ( 512*512) ) /* unrealstic values */41 if ( channels == 0 || channels > ((uint32_t)512UL*(uint32_t)512UL) ) /* unrealstic values */ 42 42 return -1; 43 43
Note: See TracChangeset
for help on using the changeset viewer.