Skip to content

Commit 41552ef

Browse files
committed
0.0.196
1 parent 1e2fefa commit 41552ef

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

orso/cityhash/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ def CityHash32(data: bytes) -> int:
33

44
if not isinstance(data, bytes):
55
data = str(data).encode()
6-
return xxh32(data)
6+
return xxh32(data).intdigest()
77

88

99
def CityHash64(data: bytes) -> int:
1010
from xxhash import xxh64
1111

1212
if not isinstance(data, bytes):
1313
data = str(data).encode()
14-
return xxh64(data)
14+
return xxh64(data).intdigest()

orso/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
__version__: str = "0.0.195"
13+
__version__: str = "0.0.196"
1414
__author__: str = "@joocer"

0 commit comments

Comments
 (0)