Permalink
Browse files

SERVER-4735: force pid_t to int

  • Loading branch information...
1 parent 79f999c commit 0e859c4f7dcf6809e744d33d808c78663bc6cdda Dan Crosta committed Feb 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mongo/db/dbcommands.cpp
View
2 src/mongo/db/dbcommands.cpp
@@ -437,7 +437,7 @@ namespace mongo {
result.append( "host" , prettyHostName() );
result.append("version", versionString);
result.append("process","mongod");
- result.append("pid", getpid());
+ result.append("pid", (int)getpid());
result.append("uptime",(double) (time(0)-cmdLine.started));
result.append("uptimeEstimate",(double) (start/1000));
result.appendDate( "localTime" , jsTime() );

0 comments on commit 0e859c4

Please sign in to comment.