Project

General

Profile

Bug #9507 ยป 0002-Use-only-unsigned-long-for-rb_serial_t.patch

Use only unsigned long for rb_serial_t - webmeister (_ _), 03/01/2014 04:46 PM

View differences:

internal.h
250 250
    rb_subclass_entry_t *next;
251 251
};
252 252

  
253
#if defined(HAVE_LONG_LONG)
254
typedef unsigned LONG_LONG rb_serial_t;
255
#define SERIALT2NUM ULL2NUM
256
#elif defined(HAVE_UINT64_T)
257
typedef uint64_t rb_serial_t;
258
#define SERIALT2NUM SIZET2NUM
259
#else
260 253
typedef unsigned long rb_serial_t;
261 254
#define SERIALT2NUM ULONG2NUM
262
#endif
263 255

  
264 256
struct rb_classext_struct {
265 257
    struct st_table *iv_index_tbl;
266
-