Permalink
Browse files

Take care of comparison warning on x86_64

  • Loading branch information...
1 parent 342a3d2 commit 8f09dbc6610044430a94ed9159fd52dccd49caef @dkao committed Apr 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 acpi_call.c
View
@@ -45,7 +45,7 @@ static int acpi_result_to_string(union acpi_object *result) {
int i;
// do not store more than data if it does not fit. The first element is
// just 4 chars, but there is also two bytes from the curly brackets
- int show_values = min(result->buffer.length, get_avail_bytes() / 6);
+ int show_values = min((size_t)result->buffer.length, get_avail_bytes() / 6);
sprintf(get_buffer_end(), "{");
for (i = 0; i < show_values; i++)

0 comments on commit 8f09dbc

Please sign in to comment.