diff --git a/stratosphere/TioServer/source/tio_file_server_processor.cpp b/stratosphere/TioServer/source/tio_file_server_processor.cpp index 05deb6c..939f59e 100644 --- a/stratosphere/TioServer/source/tio_file_server_processor.cpp +++ b/stratosphere/TioServer/source/tio_file_server_processor.cpp @@ -650,7 +650,7 @@ out->size = read_count * sizeof(fs::DirectoryEntry); /* Set the response body size. */ - response_header.body_size = sizeof(out) + out->size; + response_header.body_size = sizeof(*out) + out->size; } else { /* We have to use multiple sends. */ /* Lock our server. */