Skip to content

Commit

Permalink
* fix warnings of type mismatch (PurpleI2P#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
hagen committed Dec 17, 2015
1 parent 632d26e commit c3238f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Destination.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ namespace client
const int PUBLISH_CONFIRMATION_TIMEOUT = 5; // in seconds
const int LEASESET_REQUEST_TIMEOUT = 5; // in seconds
const int MAX_LEASESET_REQUEST_TIMEOUT = 40; // in seconds
const int MAX_NUM_FLOODFILLS_PER_REQUEST = 7;
const int DESTINATION_CLEANUP_TIMEOUT = 20; // in minutes
const unsigned int MAX_NUM_FLOODFILLS_PER_REQUEST = 7;

// I2CP
const char I2CP_PARAM_INBOUND_TUNNEL_LENGTH[] = "inbound.length";
Expand Down
2 changes: 1 addition & 1 deletion I2NPProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ namespace i2p
const uint8_t DATABASE_LOOKUP_TYPE_ROUTERINFO_LOOKUP = 0x08; // 1000
const uint8_t DATABASE_LOOKUP_TYPE_EXPLORATORY_LOOKUP = 0x0C; // 1100

const int MAX_NUM_TRANSIT_TUNNELS = 2500;
const unsigned int MAX_NUM_TRANSIT_TUNNELS = 2500;

namespace tunnel
{
Expand Down
2 changes: 1 addition & 1 deletion SSUData.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ namespace transport
const int RESEND_INTERVAL = 3; // in seconds
const int MAX_NUM_RESENDS = 5;
const int DECAY_INTERVAL = 20; // in seconds
const int MAX_NUM_RECEIVED_MESSAGES = 1000; // how many msgID we store for duplicates check
const int INCOMPLETE_MESSAGES_CLEANUP_TIMEOUT = 30; // in seconds
const unsigned int MAX_NUM_RECEIVED_MESSAGES = 1000; // how many msgID we store for duplicates check
// data flags
const uint8_t DATA_FLAG_EXTENDED_DATA_INCLUDED = 0x02;
const uint8_t DATA_FLAG_WANT_REPLY = 0x04;
Expand Down

0 comments on commit c3238f4

Please sign in to comment.