Skip to content

Commit

Permalink
Fixing type casting in suicide.
Browse files Browse the repository at this point in the history
  • Loading branch information
syzdek committed Dec 5, 2013
1 parent 7508848 commit 95bb0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/suicide.c
Expand Up @@ -367,7 +367,7 @@ int main(int argc, char * argv[])
suicide_usage();
return(0);
case 'n':
val = strtoll(optarg, NULL, 0);
val = (int)strtol(optarg, NULL, 0);
if ((suicide_find_data(&actions, &action_size, NULL, val)))
return(1);
break;
Expand Down

0 comments on commit 95bb0ab

Please sign in to comment.