From c15059cb2bd8df20a6e584148c6b1f67fa5d248f Mon Sep 17 00:00:00 2001 From: rkebichi <54912798+rkebichi@users.noreply.github.com> Date: Fri, 6 Sep 2019 10:56:25 -0400 Subject: [PATCH] Update roctx.cpp --- src/roctx/roctx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roctx/roctx.cpp b/src/roctx/roctx.cpp index 33618bbabc..907065484c 100644 --- a/src/roctx/roctx.cpp +++ b/src/roctx/roctx.cpp @@ -141,7 +141,7 @@ PUBLIC_API int roctxRangePop() { message_stack.pop(); } API_METHOD_CATCH(-1) - return message_stack.size()-1; + return message_stack.size(); } } // extern "C"