Project

General

Profile

Bug #19 » loop_index_type.patch

Arnaud Degroote, 2014-04-24 15:29

View differences:

codels/natnet.c
union { const char *c; const uint32_t *u; const float *f; const void *v; } p;
struct natnet_msetdescr *mset;
struct natnet_bodydescr *body;
uint32_t k, n, m;
int i, j;
uint32_t k, n, m, i, j;
assert(ctx && ctx->msg.id == NAT_MODELDEF);
......
union { const char *c; const uint32_t *u; const float *f; const void *v; } p;
struct natnet_mset *mset;
struct natnet_body *body;
uint32_t n, m, o;
int i, j;
uint32_t n, m, o, i, j;
assert(ctx && ctx->msg.id == NAT_FRAMEOFDATA);
p.c = ctx->msg.data.c;
......
void
natnet_disconnect(natnet_context_s ctx)
{
int i, j;
uint32_t i, j;
if (!ctx) return;
codels/ports.c
{
const struct natnet_bodydescr *body;
genom_event e;
int i;
uint32_t i;
for(i = 0, body = descr->body; i < descr->nbodies; i++, body++) {
if (bodies->data(body->safename)) continue;
......
struct timeval tv;
double qx, qy, qz, qw;
genom_event e;
int i;
uint32_t i;
for(i=0, body=f->body; i<f->nbodies; i++, body++) {
if (body->descr == NULL) {
    (1-1/1)