Skip to content

Commit ae0496c

Browse files
authored
fix: dont lose precision on cas operations (#263)
1 parent a71ca44 commit ae0496c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Enyim.Caching/Memcached/Protocol/Text/TextOperationFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ IStoreOperation IOperationFactory.Store(StoreMode mode, string key, CacheItem va
2020
if (cas == 0)
2121
return new StoreOperation(mode, key, value, expires);
2222

23-
return new CasOperation(key, value, expires, (uint)cas);
23+
return new CasOperation(key, value, expires, cas);
2424
}
2525

2626
IDeleteOperation IOperationFactory.Delete(string key, ulong cas)

0 commit comments

Comments
 (0)