From 872926fb16679e2573adb6d388fc23bdf644c85a Mon Sep 17 00:00:00 2001 From: Tim Wilkens Date: Sat, 21 Jan 2017 14:22:13 -0800 Subject: [PATCH] Don't cast cas to uint. --- Enyim.Caching/Memcached/Protocol/Text/TextOperationFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Enyim.Caching/Memcached/Protocol/Text/TextOperationFactory.cs b/Enyim.Caching/Memcached/Protocol/Text/TextOperationFactory.cs index a117d92f..1cdb2b88 100644 --- a/Enyim.Caching/Memcached/Protocol/Text/TextOperationFactory.cs +++ b/Enyim.Caching/Memcached/Protocol/Text/TextOperationFactory.cs @@ -20,7 +20,7 @@ IStoreOperation IOperationFactory.Store(StoreMode mode, string key, CacheItem va if (cas == 0) return new StoreOperation(mode, key, value, expires); - return new CasOperation(key, value, expires, (uint)cas); + return new CasOperation(key, value, expires, cas); } IDeleteOperation IOperationFactory.Delete(string key, ulong cas)