Changeset 8808 for trunk/psLib/src/types
- Timestamp:
- Sep 13, 2006, 11:11:11 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/types/psArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psArguments.c
r8805 r8808 7 7 * @author David Robbins, MHPCC 8 8 * 9 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-09-13 02:20:15$9 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-09-13 21:11:11 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 13 13 */ 14 14 15 #include<stdio.h> 16 #include<stdarg.h> 17 #include<string.h> 15 #include <stdio.h> 16 #include <stdarg.h> 17 #include <string.h> 18 #include <inttypes.h> 19 18 20 #include "psArguments.h" 19 21 #include "fitsio.h" … … 315 317 // Print the value 316 318 switch (item->type) { 317 PRINT_CASE(U8, "%u");318 PRINT_CASE(U16, "%u");319 PRINT_CASE(U32, "%u");320 PRINT_CASE(U64, "%lu");321 PRINT_CASE(S8, "%d");322 PRINT_CASE(S16, "%d");323 PRINT_CASE(S32, "%d");324 PRINT_CASE(S64, "%ld");325 PRINT_CASE(F32, "%.6e");326 PRINT_CASE(F64, "%.6e");319 PRINT_CASE(U8, "%u"); 320 PRINT_CASE(U16, "%u"); 321 PRINT_CASE(U32, "%u"); 322 PRINT_CASE(U64, "%" PRIu64); 323 PRINT_CASE(S8, "%d"); 324 PRINT_CASE(S16, "%d"); 325 PRINT_CASE(S32, "%d"); 326 PRINT_CASE(S64, "%" PRId64); 327 PRINT_CASE(F32, "%.6e"); 328 PRINT_CASE(F64, "%.6e"); 327 329 case PS_DATA_BOOL: 328 330 if (item->data.B) {
Note:
See TracChangeset
for help on using the changeset viewer.
