Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
* Explicit sizes of the vector members.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Dmitrievich Turbanov committed Feb 13, 2021
1 parent af59d23 commit d193d02
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions 3rdparty/astc/vectypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#include <string.h>
#include <stdint.h>

typedef unsigned int uint;
typedef unsigned short ushort;
typedef unsigned long ulong;
typedef unsigned char uchar;
typedef signed char schar;
typedef uint32_t uint;
typedef uint16_t ushort;
typedef uint64_t ulong;
typedef uint8_t uchar;
typedef int8_t schar;

template < typename vtype > class vtype2;

Expand Down Expand Up @@ -9756,21 +9756,21 @@ typedef vtype4 < float >float4;
typedef vtype2 < double >double2;
typedef vtype3 < double >double3;
typedef vtype4 < double >double4;
typedef vtype2 < int >int2;
typedef vtype3 < int >int3;
typedef vtype4 < int >int4;
typedef vtype2 < int32_t >int2;
typedef vtype3 < int32_t >int3;
typedef vtype4 < int32_t >int4;
typedef vtype2 < uint > uint2;
typedef vtype3 < uint > uint3;
typedef vtype4 < uint > uint4;
typedef vtype2 < short >short2;
typedef vtype3 < short >short3;
typedef vtype4 < short >short4;
typedef vtype2 < int16_t >short2;
typedef vtype3 < int16_t >short3;
typedef vtype4 < int16_t >short4;
typedef vtype2 < ushort > ushort2;
typedef vtype3 < ushort > ushort3;
typedef vtype4 < ushort > ushort4;
typedef vtype2 < long >long2;
typedef vtype3 < long >long3;
typedef vtype4 < long >long4;
typedef vtype2 < int64_t >long2;
typedef vtype3 < int64_t >long3;
typedef vtype4 < int64_t >long4;
typedef vtype2 < ulong > ulong2;
typedef vtype3 < ulong > ulong3;
typedef vtype4 < ulong > ulong4;
Expand Down

0 comments on commit d193d02

Please sign in to comment.