Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use structalign_t to in VarDeclaration

  • Loading branch information...
commit ed0c0c99193236e6ef040835e74d6e49779a66a4 1 parent ec5d4da
Iain Buclaw ibuclaw authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  src/declaration.h
2  src/declaration.h
@@ -258,7 +258,7 @@ struct VarDeclaration : Declaration
258 258 #else
259 259 int nestedref; // referenced by a lexically nested function
260 260 #endif
261   - unsigned short alignment;
  261 + structalign_t alignment;
262 262 int ctorinit; // it has been initialized in a ctor
263 263 int onstack; // 1: it has been allocated on the stack
264 264 // 2: on stack, run destructor anyway

0 comments on commit ed0c0c9

Please sign in to comment.
Something went wrong with that request. Please try again.