Changeset 3e9074f in mainline


Ignore:
Timestamp:
2011-02-01T23:16:06Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
52fb76e
Parents:
23c7f4d
Message:

Fix bad type casting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/request.c

    r23c7f4d r3e9074f  
    7979            p_index, p_length)
    8080
    81 #define MAX_DATA_LENGTH (~((uint16_t)0))
     81#define MAX_DATA_LENGTH ((size_t)(0xFFFF))
    8282
    8383/** Generic wrapper for SET requests using standard control request format.
Note: See TracChangeset for help on using the changeset viewer.