Revision: 14549
Author: adrian.chadd
Date: Mon Apr  5 21:10:34 2010
Log: Issue #94 tidyup - use PRINTF_OFF_T when printing out the size of off_t values.


http://code.google.com/p/lusca-cache/source/detail?r=14549

Modified:
 /branches/LUSCA_HEAD/tools/ufs_obj_cat.c

=======================================
--- /branches/LUSCA_HEAD/tools/ufs_obj_cat.c    Sun Mar 28 23:27:13 2010
+++ /branches/LUSCA_HEAD/tools/ufs_obj_cat.c    Mon Apr  5 21:10:34 2010
@@ -101,7 +101,7 @@
                                    t->length, (const char *)t->value);
                                break;
                        case STORE_META_OBJSIZE:
-                               printf("STORE_META_OBJSIZE: len %d: value %d\n", 
t->length,
+ printf("STORE_META_OBJSIZE: len %d: value %" PRINTF_OFF_T "\n", t->length,
                                    * ((squid_off_t *) t->value));
                                break;
                        case STORE_META_VARY_HEADERS:
@@ -111,7 +111,7 @@
                        case STORE_META_STD_LFS:
                                /* This is for when size_t != squid_file_sz */
                                /* XXX why is this size so .. stupidly big for 
the timestamp? */
-                               printf("STORE_META_STD_LFS: len %d: value %d\n", 
t->length,
+ printf("STORE_META_STD_LFS: len %d: value %" PRINTF_OFF_T "\n", t->length,
                                    * ((squid_file_sz *) t->value));
                                break;
                        default:

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to