Skip to content

Commit

Permalink
Fix c warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkschumacher committed Mar 31, 2018
1 parent 88aca99 commit deec953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ NAPI_METHOD(node_picosat_sat) {
napi_value result_array;

if (status_code == PICOSAT_SATISFIABLE) {
int nvars = picosat_variables(pico_ptr);
size_t nvars = picosat_variables(pico_ptr);
napi_create_array_with_length(env, nvars + 1, &result_array);

// get and set the variable solutions
Expand Down

0 comments on commit deec953

Please sign in to comment.