summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-c-like.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2020-06-25 13:19:45 -0700
committerYong He <yonghe@outlook.com>2020-06-25 13:23:28 -0700
commita1fed5e49bc1c8452752d13d401ee0bbbc5c71c4 (patch)
tree03e54a0d33caf5196416315489a8d01b973c7a5e /source/slang/slang-emit-c-like.cpp
parentffa9a3575ff888dc494ba4878f52441c64a9e08c (diff)
Partial fixes to code review comments
Diffstat (limited to 'source/slang/slang-emit-c-like.cpp')
-rw-r--r--source/slang/slang-emit-c-like.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-c-like.cpp b/source/slang/slang-emit-c-like.cpp
index 516a8ff22..b1a664ade 100644
--- a/source/slang/slang-emit-c-like.cpp
+++ b/source/slang/slang-emit-c-like.cpp
@@ -203,7 +203,7 @@ void CLikeSourceEmitter::emitSimpleType(IRType* type)
case kIROp_HalfType: return UnownedStringSlice("half");
case kIROp_FloatType: return UnownedStringSlice("float");
- case kIROp_DoubleType: return UnownedStringSlice("double");
+ case kIROp_DoubleType: return UnownedStringSlice("double");
default: return UnownedStringSlice();
}
}