Skip to content

Commit

Permalink
Fix comparison between signed and unsigned size_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
octo committed Apr 10, 2010
1 parent 6b85562 commit 7055895
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pinba.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 7055895

Please sign in to comment.