Skip to content

Commit

Permalink
Fix unsigned constant issue in C/C++ CloudI API.
Browse files Browse the repository at this point in the history
  • Loading branch information
okeuday committed Apr 19, 2012
1 parent de91d7b commit f69c3c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/c/cloudi.h
Expand Up @@ -51,7 +51,7 @@ extern "C"
{
#endif

#define CLOUDI_MAX_BUFFERSIZE 2147483648 /* 2GB */
#define CLOUDI_MAX_BUFFERSIZE 2147483648U /* 2GB */

typedef struct cloudi_instance_t
{
Expand Down
2 changes: 1 addition & 1 deletion src/api/c/cloudi.hpp
Expand Up @@ -47,7 +47,7 @@
#include <stdint.h>
#include <string>

#define CLOUDI_MAX_BUFFERSIZE 2147483648 /* 2GB */
#define CLOUDI_MAX_BUFFERSIZE 2147483648U /* 2GB */

typedef struct cloudi_instance_t cloudi_instance_t;

Expand Down

0 comments on commit f69c3c1

Please sign in to comment.