tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liuyi...@apache.org
Subject [incubator-tvm] branch v0.6 updated: [BACKPORT-0.6] Fix Base64OutStream portability issue (#5875)
Date Sun, 21 Jun 2020 22:27:33 GMT
This is an automated email from the ASF dual-hosted git repository.

liuyizhi pushed a commit to branch v0.6
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/v0.6 by this push:
     new 30ad18f  [BACKPORT-0.6] Fix Base64OutStream portability issue (#5875)
30ad18f is described below

commit 30ad18feb71907162d7a08f73b0eedbcb9d17808
Author: Yizhi Liu <liuyizhi@apache.org>
AuthorDate: Sun Jun 21 15:27:23 2020 -0700

    [BACKPORT-0.6] Fix Base64OutStream portability issue (#5875)
    
    Co-authored-by: Trevor Morris <trevmorr@amazon.com>
---
 src/common/base64.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/base64.h b/src/common/base64.h
index a2d8af8..0d2b6a1 100644
--- a/src/common/base64.h
+++ b/src/common/base64.h
@@ -258,7 +258,7 @@ class Base64OutStream: public dmlc::Stream {
    * \brief finish writing of all current base64 stream, do some post processing
    * \param endch character to put to end of stream, if it is EOF, then nothing will be appended.
    */
-  void Finish(char endch = EOF) {
+  void Finish(int endch = EOF) {
     using base64::EncodeTable;
     if (buf__top_ == 1) {
       PutChar(EncodeTable[buf_[1] >> 2]);


Mime
View raw message