@@ -982,7 +982,7 @@ func (v int8Value) castTo(dst any) error {
982
982
}
983
983
984
984
func (v int8Value ) Yql () string {
985
- return strconv .FormatUint ( uint64 (v ), 10 ) + "t"
985
+ return strconv .FormatInt ( int64 (v ), 10 ) + "t"
986
986
}
987
987
988
988
func (int8Value ) Type () types.Type {
@@ -1046,7 +1046,7 @@ func (v int16Value) castTo(dst any) error {
1046
1046
}
1047
1047
1048
1048
func (v int16Value ) Yql () string {
1049
- return strconv .FormatUint ( uint64 (v ), 10 ) + "s"
1049
+ return strconv .FormatInt ( int64 (v ), 10 ) + "s"
1050
1050
}
1051
1051
1052
1052
func (int16Value ) Type () types.Type {
@@ -1166,7 +1166,7 @@ func (v int64Value) castTo(dst any) error {
1166
1166
}
1167
1167
1168
1168
func (v int64Value ) Yql () string {
1169
- return strconv .FormatUint ( uint64 (v ), 10 ) + "l"
1169
+ return strconv .FormatInt ( int64 (v ), 10 ) + "l"
1170
1170
}
1171
1171
1172
1172
func (int64Value ) Type () types.Type {
@@ -2230,11 +2230,11 @@ func (v uint8Value) castTo(dst any) error {
2230
2230
2231
2231
return nil
2232
2232
case * string :
2233
- * vv = strconv .FormatUint ( uint64 (v ), 10 )
2233
+ * vv = strconv .FormatInt ( int64 (v ), 10 )
2234
2234
2235
2235
return nil
2236
2236
case * []byte :
2237
- * vv = xstring .ToBytes (strconv .FormatUint ( uint64 (v ), 10 ))
2237
+ * vv = xstring .ToBytes (strconv .FormatInt ( int64 (v ), 10 ))
2238
2238
2239
2239
return nil
2240
2240
case * uint64 :
0 commit comments