~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.c

  • Committer: Brian Aker
  • Date: 2008-08-10 22:14:13 UTC
  • Revision ID: brian@tangent.org-20080810221413-ablfnyr3wgu6fjaw
ulong conversion. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
982
982
    *((long*) variable)= (long) value;
983
983
    break;
984
984
  case GET_ULONG:
985
 
    *((ulong*) variable)= (ulong) value;
 
985
    *((uint32_t*) variable)= (uint32_t) value;
986
986
    break;
987
987
  case GET_LL:
988
988
    *((int64_t*) variable)= (int64_t) value;
1234
1234
        printf("%ld\n", *((long*) value));
1235
1235
        break;
1236
1236
      case GET_ULONG:
1237
 
        printf("%lu\n", *((ulong*) value));
 
1237
        printf("%u\n", *((uint32_t*) value));
1238
1238
        break;
1239
1239
      case GET_LL:
1240
1240
        printf("%s\n", llstr(*((int64_t*) value), buff));