Permalink
Browse files

Fix warning in SCParamBlock.

  • Loading branch information...
uliwitness committed Jan 27, 2014
1 parent 6217b6a commit 017692b2a36b2a2f1c699e5f6d7f24f3cdec9e73
Showing with 1 addition and 1 deletion.
  1. +1 −1 SCParamBlock.m
View
@@ -71,7 +71,7 @@ -(void) setParameterAtIndex: (int)ind to: (NSString*)str
-(void) setParameterDataAtIndex: (int)ind to: (NSData*)theData
{
if( ind >= paramPtr->paramCount )
- [NSException raise: @"SCParamBlockNotEnoughParamsException" format: @"Tried to change parameter %ld, but only got %d parameters.", ind, paramPtr->paramCount];
+ [NSException raise: @"SCParamBlockNotEnoughParamsException" format: @"Tried to change parameter %d, but only got %d parameters.", ind, paramPtr->paramCount];
SetHandleSize( paramPtr->params[ind], [theData length] );
if( MemError() != noErr )

0 comments on commit 017692b

Please sign in to comment.