From ac5931ce2602d45149e1c8baacf0805fa39f73f6 Mon Sep 17 00:00:00 2001 From: "HuYingzhuo(hugo/hyzboy)" Date: Tue, 21 Feb 2023 18:31:32 +0800 Subject: [PATCH] fixed type of param of StringInstance --- inc/hgl/type/StringInstance.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/hgl/type/StringInstance.h b/inc/hgl/type/StringInstance.h index 7af979d..4db7d29 100644 --- a/inc/hgl/type/StringInstance.h +++ b/inc/hgl/type/StringInstance.h @@ -321,7 +321,7 @@ namespace hgl * @return 0 等同 * @return >0 我方大 */ - const int Comp(const uint pos,const T *str,const uint num)const + const int Comp(const int pos,const T *str,const uint num)const { if(!str) return(length-pos);