summaryrefslogtreecommitdiff
path: root/vala/valasizeofexpression.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valasizeofexpression.vala')
-rw-r--r--vala/valasizeofexpression.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valasizeofexpression.vala b/vala/valasizeofexpression.vala
index 387c604e7..aadbbc215 100644
--- a/vala/valasizeofexpression.vala
+++ b/vala/valasizeofexpression.vala
@@ -29,7 +29,7 @@ public class Vala.SizeofExpression : Expression {
/**
* The type whose size to be retrieved.
*/
- public TypeReference! type_reference { get; set construct; }
+ public DataType! type_reference { get; set construct; }
/**
* Creates a new sizeof expression.
@@ -38,7 +38,7 @@ public class Vala.SizeofExpression : Expression {
* @param source reference to source code
* @return newly created sizeof expression
*/
- public SizeofExpression (TypeReference! type, SourceReference source) {
+ public SizeofExpression (DataType! type, SourceReference source) {
type_reference = type;
source_reference = source;
}