~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/pack.c

  • Committer: Brian Aker
  • Date: 2008-09-16 09:41:23 UTC
  • Revision ID: brian@gir.lan-20080916094123-2ws792vn896n2g53
Fixed uint/ushort issue in libdrizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
  if (length < (uint64_t) 65536LL)
109
109
  {
110
110
    *packet++=252;
111
 
    int2store(packet,(uint) length);
 
111
    int2store(packet,(uint32_t) length);
112
112
    return packet+2;
113
113
  }
114
114
  if (length < (uint64_t) 16777216LL)