Skip to content

Commit

Permalink
Merge pull request #2938 from redstar/warnings
Browse files Browse the repository at this point in the history
Fix clang warnings.
  • Loading branch information
yebblies committed Dec 9, 2013
2 parents 99ff220 + 2135d8e commit 6a65ae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arraytypes.h
Expand Up @@ -24,7 +24,7 @@ typedef Array<class Expression> Expressions;

typedef Array<class Statement> Statements;

typedef Array<class BaseClass> BaseClasses;
typedef Array<struct BaseClass> BaseClasses;

typedef Array<class ClassDeclaration> ClassDeclarations;

Expand Down
2 changes: 1 addition & 1 deletion src/mars.h
Expand Up @@ -241,7 +241,7 @@ struct Compiler
};

typedef unsigned structalign_t;
#define STRUCTALIGN_DEFAULT ~0 // magic value means "match whatever the underlying C compiler does"
#define STRUCTALIGN_DEFAULT ((structalign_t) ~0) // magic value means "match whatever the underlying C compiler does"
// other values are all powers of 2

struct Ungag
Expand Down

0 comments on commit 6a65ae7

Please sign in to comment.