Permalink
Browse files

Set the right return type for get_buffer_end

  • Loading branch information...
1 parent b0e0d20 commit ce867491f405eb4653ef9dbd2602a39025e9eea2 @Lekensteyn Lekensteyn committed Oct 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 acpi_call.c
View
2 acpi_call.c
@@ -20,7 +20,7 @@ static u8 temporary_buffer[BUFFER_SIZE];
static size_t get_avail_bytes(void) {
return BUFFER_SIZE - strlen(result_buffer);
}
-static u8 *get_buffer_end(void) {
+static char *get_buffer_end(void) {
return result_buffer + strlen(result_buffer);
}
/** Appends the contents of an acpi_object to the result buffer

0 comments on commit ce86749

Please sign in to comment.