Changeset 14575 for trunk/FACT++/dim/src/examples
- Timestamp:
- 11/07/12 10:47:40 (12 years ago)
- Location:
- trunk/FACT++/dim/src/examples
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/dim/src/examples/rpc_client.cxx
r11071 r14575 41 41 int out, in; 42 42 43 sprintf(name,"TESTRPC%d/INT",( long)tag);43 sprintf(name,"TESTRPC%d/INT",(dim_long)tag); 44 44 myRpc = new DimRpcInfo(name, 10, -1); 45 45 // myRpc = new Rpc(name); … … 54 54 dim_lock(); 55 55 dim_print_date_time(); 56 cout << "Instance "<<( long)tag<<" sent "<<out<< " got "<<in <<endl;56 cout << "Instance "<<(dim_long)tag<<" sent "<<out<< " got "<<in <<endl; 57 57 dim_unlock(); 58 58 out++; -
trunk/FACT++/dim/src/examples/test_client.c
r13339 r14575 57 57 { 58 58 if(tag){} 59 printf("Received VERSION %lx, %d\n", ( long)buf, *size);59 printf("Received VERSION %lx, %d\n", (dim_long)buf, *size); 60 60 } 61 61 -
trunk/FACT++/dim/src/examples/test_server.c
r13135 r14575 70 70 int on = 0; 71 71 */ 72 long dnsid = 0;72 dim_long dnsid = 0; 73 73 char extra_dns[128]; 74 74 int new_dns = 0;
Note:
See TracChangeset
for help on using the changeset viewer.