]> git.pld-linux.org Git - packages/cnet.git/blob - cnet-longint.patch
- tabs in preamble
[packages/cnet.git] / cnet-longint.patch
1 --- EXAMPLES/protocol.c~        2003-03-31 05:22:07.000000000 +0200
2 +++ EXAMPLES/protocol.c 2004-09-21 16:04:46.317748096 +0200
3 @@ -32,7 +32,7 @@
4  static void button_pressed(CnetEvent ev, CnetTimer timer, CnetData data)
5  {
6      printf("\n Node number     : %d\n", nodeinfo.nodenumber);
7 -    printf(" Node address    : %ld\n", nodeinfo.address);
8 +    printf(" Node address    : %ld\n", (long int) nodeinfo.address);
9      printf(" Node name       : %s\n", nodeinfo.nodename);
10      printf(" Number of links : %d\n\n", nodeinfo.nlinks);
11  }
This page took 0.079681 seconds and 4 git commands to generate.