Revision 438e6c03 som/Tests/chunkidset_test_bug.c

View differences:

som/Tests/chunkidset_test_bug.c
4 4
 *  This is free software; see gpl-3.0.txt
5 5
 */
6 6

  
7
#include <inttypes.h>
7 8
#include <stdint.h>
8 9
#include <stdlib.h>
9 10
#include <stdio.h>
10 11
#include <string.h>
12

  
11 13
#include "chunkidset.h"
12
#include "trade_sig_la.h"
14

  
13 15
#include "chunkid_set_h.h"
14 16

  
15 17
static void display_cset(struct chunkID_set *cset)
16 18
{
17 19
  printf("Chunk ID Set initialised: size is %d\n", chunkID_set_size(cset));
18 20
  printChunkID_set(cset);
19
  printf("Earliest chunk %d\n", chunkID_set_get_earliest(cset));
21
  printf("Earliest chunk %"PRIu32"\n", chunkID_set_get_earliest(cset));
20 22
  check_chunk(cset, 0);
21
  printf("Latest chunk %d.\n", chunkID_set_get_latest(cset));
23
  printf("Latest chunk %"PRIu32"\n", chunkID_set_get_latest(cset));
22 24
  check_chunk(cset, 0);
23 25
}
24 26

  

Also available in: Unified diff