Skip to content

Commit

Permalink
Change default integer sizes to match size_t and ptrdiff_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
insertinterestingnamehere committed Mar 1, 2016
1 parent 0b126de commit 6ae8a39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frame/include/bli_type_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
// -- BLIS basic types ---------------------------------------------------------
//

#include <stddef.h>

#ifdef __cplusplus
// For C++, include stdint.h.
#include <stdint.h>
Expand Down Expand Up @@ -68,8 +70,8 @@ typedef uint32_t guint_t;
typedef int64_t gint_t;
typedef uint64_t guint_t;
#else
typedef signed long int gint_t;
typedef unsigned long int guint_t;
typedef ptrdiff_t gint_t;
typedef size_t guint_t;
#endif

// -- Boolean type --
Expand Down

0 comments on commit 6ae8a39

Please sign in to comment.