From 9817785c66a13caa681a8e9e272f2ae949233542 Mon Sep 17 00:00:00 2001
From: yhliang <68215459+yhliang-aslp@users.noreply.github.com>
Date: 星期二, 18 四月 2023 19:28:39 +0800
Subject: [PATCH] Merge pull request #380 from alibaba-damo-academy/main

---
 funasr/runtime/onnxruntime/tester/tester_rtf.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/onnxruntime/tester/tester_rtf.cpp b/funasr/runtime/onnxruntime/tester/tester_rtf.cpp
index ca17e50..dd79887 100644
--- a/funasr/runtime/onnxruntime/tester/tester_rtf.cpp
+++ b/funasr/runtime/onnxruntime/tester/tester_rtf.cpp
@@ -80,7 +80,7 @@
 
         if(Result){
             string msg = FunASRGetResult(Result, 0);
-            printf("Result: %s \n", msg);
+            printf("Result: %s \n", msg.c_str());
 
             snippet_time = FunASRGetRetSnippetTime(Result);
             total_length += snippet_time;

--
Gitblit v1.9.1