Merge pull request #56 from fsareshwala/master
runtime: TextOutputOptions::WithNumericBase should take a uint8_t
diff --git a/runtime/cpp/emboss_text_util.h b/runtime/cpp/emboss_text_util.h
index b3daf86..500d828 100644
--- a/runtime/cpp/emboss_text_util.h
+++ b/runtime/cpp/emboss_text_util.h
@@ -67,9 +67,9 @@
return result;
}
- TextOutputOptions WithNumericBase(int new_value) const {
+ TextOutputOptions WithNumericBase(uint8_t new_value) const {
TextOutputOptions result = *this;
- result.numeric_base_ = static_cast</**/ ::std::uint8_t>(new_value);
+ result.numeric_base_ = new_value;
return result;
}