build changes to eliminate need for u_int32_t
[platform/upstream/libvorbis.git] / lib / framing.c
index b0de497..b0ffeb3 100644 (file)
@@ -13,7 +13,7 @@
 
  function: code raw [Vorbis] packets into framed OggSquish stream and
            decode Ogg streams back into raw packets
- last mod: $Id: framing.c,v 1.17 2000/04/06 15:39:43 xiphmont Exp $
+ last mod: $Id: framing.c,v 1.18 2000/06/19 14:59:06 xiphmont Exp $
 
  note: The CRC code is directly derived from public domain code by
  Ross Williams (ross@guest.adelaide.edu.au).  See docs/framing.html
@@ -73,10 +73,10 @@ int ogg_page_pageno(ogg_page *og){
 
 /* helper to initialize lookup for direct-table CRC */
 
-static u_int32_t crc_lookup[256];
+static unsigned vorbis_size32_t crc_lookup[256];
 static int crc_ready=0;
 
-static u_int32_t _ogg_crc_entry(unsigned long index){
+static unsigned vorbis_size32_t _ogg_crc_entry(unsigned long index){
   int           i;
   unsigned long r;
 
@@ -170,7 +170,7 @@ static void _os_lacing_expand(ogg_stream_state *os,int needed){
    perform the checksum silmultaneously with other copies */
 
 static void _os_checksum(ogg_page *og){
-  u_int32_t crc_reg=0;
+  unsigned vorbis_size32_t crc_reg=0;
   int i;
 
   for(i=0;i<og->header_len;i++)