Skip to content
Snippets Groups Projects
Commit f956bd99 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Chane a type from int to int16_t for a little better packing in a structure

parent 4c7b9885
No related branches found
No related tags found
No related merge requests found
......@@ -125,9 +125,9 @@ struct aiocb
FAR volatile void *aio_buf; /* Location of buffer */
off_t aio_offset; /* File offset */
size_t aio_nbytes; /* Length of transfer */
int aio_fildes; /* File descriptor */
int8_t aio_reqprio; /* Request priority offset (not used) */
uint8_t aio_lio_opcode; /* Operation to be performed */
int16_t aio_fildes; /* File descriptor (should be int) */
int8_t aio_reqprio; /* Request priority offset (not used, should be int) */
uint8_t aio_lio_opcode; /* Operation to be performed (should be int) */
/* Non-standard, implementation-dependent data. For portability reasons,
* application code should never reference these elements.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment