ext/fuzzrnd/fuzzrnd.c in rfuzz-0.6 vs ext/fuzzrnd/fuzzrnd.c in rfuzz-0.7
- old
+ new
@@ -6,11 +6,10 @@
#include "ruby.h"
#include "ext_help.h"
#include <assert.h>
#include <string.h>
#include <ctype.h>
-#include <inttypes.h>
static VALUE mRFuzz;
static VALUE cFuzzRnd;
static VALUE eFuzzRndError;
@@ -46,10 +45,10 @@
* possible sequences if there's a sequence that we want to test.
*/
VALUE FuzzRnd_data(VALUE self, VALUE length)
{
- uint32_t n;
+ unsigned int n;
unsigned char a,b;
size_t len = 0;
VALUE data;
char *p = NULL;