X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/889e443ce51923704241d62daa65178c35dedbf9..refs/heads/master:/src/redis-cli.c diff --git a/src/redis-cli.c b/src/redis-cli.c index 8d20d1cd..3969fbab 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -1,6 +1,6 @@ /* Redis CLI (command line interface) * - * Copyright (c) 2009-2010, Salvatore Sanfilippo + * Copyright (c) 2009-2012, Salvatore Sanfilippo * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -95,7 +95,7 @@ static long long mstime(void) { long long mst; gettimeofday(&tv, NULL); - mst = ((long)tv.tv_sec)*1000; + mst = ((long long)tv.tv_sec)*1000; mst += tv.tv_usec/1000; return mst; }