Permalink
Browse files

Fix comparison between signed and unsigned size_t.

  • Loading branch information...
octo committed Apr 10, 2010
1 parent 6b85562 commit 7055895e244bef8f9e1e2f47687d69ed371b73ab
Showing with 2 additions and 1 deletion.
  1. +2 −1 pinba.cc
View
@@ -377,7 +377,8 @@ static inline int php_pinba_req_data_send(pinba_req_data record, HashTable *time
}
if (ret == SUCCESS) {
- ssize_t total_sent = 0, sent;
+ size_t total_sent = 0;
+ ssize_t sent;
string data;
bool res;

0 comments on commit 7055895

Please sign in to comment.