Changeset 5210:8eb738dee9d4 in roaraudio for roard/light.c


Ignore:
Timestamp:
11/01/11 12:23:05 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Updated ports to minimal, win32 and avr (pr2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/light.c

    r5194 r5210  
    3333// // 
    3434 
    35 int light_init  (unsigned int channels) { 
     35int light_init  (uint32_t channels) { 
    3636 struct roar_stream_server * ss; 
    3737 int i; 
     
    3939 g_light_state.channels = 0; 
    4040 
    41  if ( channels == 0 || channels > (512*512) ) /* unrealstic values */ 
     41 if ( channels == 0 || channels > ((uint32_t)512UL*(uint32_t)512UL) ) /* unrealstic values */ 
    4242  return -1; 
    4343 
Note: See TracChangeset for help on using the changeset viewer.