~mkindahl/drizzle/remove-mem-casts

« back to all changes in this revision

Viewing changes to libdrizzle/pack.c

  • Committer: Brian Aker
  • Date: 2008-07-26 04:51:46 UTC
  • mfrom: (202.1.25 codestyle)
  • Revision ID: brian@tangent.org-20080726045146-ax7ofn8aqnkycjl3
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    (*packet)+=4;
41
41
    return (ulong) uint3korr(pos+1);
42
42
  }
43
 
  (*packet)+=9;                                 /* Must be 254 when here */
 
43
  (*packet)+=9;          /* Must be 254 when here */
44
44
  return (ulong) uint4korr(pos+1);
45
45
}
46
46
 
68
68
    (*packet)+=4;
69
69
    return (uint64_t) uint3korr(pos+1);
70
70
  }
71
 
  (*packet)+=9;                                 /* Must be 254 when here */
 
71
  (*packet)+=9;          /* Must be 254 when here */
72
72
#ifdef NO_CLIENT_LONGLONG
73
73
  return (uint64_t) uint4korr(pos+1);
74
74
#else
81
81
 
82
82
  SYNOPSIS
83
83
    net_store_length()
84
 
    pkg                 Store the packed integer here
85
 
    length              integers to store
 
84
    pkg      Store the packed integer here
 
85
    length    integers to store
86
86
 
87
87
  NOTES
88
88
    This is mostly used to store lengths of strings.