diff org/ear.org @ 25:f4c7260d397a

removed uint problem for Windows compilation
author Robert McIntyre <rlm@mit.edu>
date Fri, 18 Nov 2011 20:06:50 -0700
parents 616215c81d23
children cdf320cb5949
line wrap: on
line diff
     1.1 --- a/org/ear.org	Fri Nov 18 16:05:47 2011 -0700
     1.2 +++ b/org/ear.org	Fri Nov 18 20:06:50 2011 -0700
     1.3 @@ -430,7 +430,7 @@
     1.4      syncContexts(data->contexts[0]->ctx , data->contexts[i]->ctx);
     1.5    }
     1.6    
     1.7 -  if ((uint) samples > Device->UpdateSize){
     1.8 +  if ((ALuint) samples > Device->UpdateSize){
     1.9      printf("exceeding internal buffer size; dropping samples\n");
    1.10      printf("requested %d; available %d\n", samples, Device->UpdateSize);
    1.11      samples = (int) Device->UpdateSize;