IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 28, 2004, 8:40:04 PM (22 years ago)
Author:
eugene
Message:

fixes for -Wall -Werror (mostly get_argument lines)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/evaluate_stack.c

    r2801 r2843  
    191191  for (i = 0; i < Nstack; i++) {
    192192    if (IsBufferPtr (stack[i].buffer) && (stack[i].type == 'm')) {
    193       if (VERBOSE) fprintf (stderr, "free %s (buff) (%x)\n", stack[i].name, (int) stack[i].buffer);
     193      if (VERBOSE) fprintf (stderr, "free %s (buff) (%lx)\n", stack[i].name, (long) stack[i].buffer);
    194194      free (stack[i].buffer[0].header.buffer);
    195195      free (stack[i].buffer[0].matrix.buffer);
     
    198198    }   
    199199    if (IsVectorPtr (stack[i].vector) && (stack[i].type == 'v')) {
    200       if (VERBOSE) fprintf (stderr, "free %s (vect) (%x)\n", stack[i].name, (int) stack[i].vector);
     200      if (VERBOSE) fprintf (stderr, "free %s (vect) (%lx)\n", stack[i].name, (long) stack[i].vector);
    201201      free (stack[i].vector[0].elements);
    202202      free (stack[i].vector);
    203203      stack[i].vector = NULL;
    204204    }   
    205     if (VERBOSE) fprintf (stderr, "free %s (name) (%d) (%x)\n", stack[i].name, i, (int) stack[i].name);
     205    if (VERBOSE) fprintf (stderr, "free %s (name) (%d) (%lx)\n", stack[i].name, i, (long) stack[i].name);
    206206    free (stack[i].name);
    207207    stack[i].name = NULL;
Note: See TracChangeset for help on using the changeset viewer.