projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Update from ddm4
[awesomized/libmemcached]
/
libmemcached
/
stats.cc
diff --git
a/libmemcached/stats.cc
b/libmemcached/stats.cc
index ab00d4b8051363f891a6853f743d10db61c15619..29d9a425196ed195f913c4b76e95f9b33512e0ae 100644
(file)
--- a/
libmemcached/stats.cc
+++ b/
libmemcached/stats.cc
@@
-95,11
+95,11
@@
static memcached_return_t set_data(memcached_stat_st *memc_stat, const char *key
if (temp <= INT32_MAX and ( sizeof(pid_t) == sizeof(int32_t) ))
{
- memc_stat->pid=
temp
;
+ memc_stat->pid=
pid_t(temp)
;
}
else if (temp > -1)
{
- memc_stat->pid=
temp
;
+ memc_stat->pid=
pid_t(temp)
;
}
else
{