[srm-cvs] CVS Update: - Strong typing

From: <d.rethans[@]jdimedia.nl>
Date: Sat Feb 23 2002 - 20:03:36 CET

Date: Sat Feb 23 20:03:36 CET 2002
User: Derick Rethans
Directory: srm/main/src

Log Message:
 [0.05]
 - Strong typing
 
Modified files:
           srm/main/src/srm_value.c (version: 1.44)

[FILE: /srm/main/src/srm_value.c]

--- srm/main/src/srm_value.c:1.43 Mon Feb 11 21:48:22 2002 GMT
+++ srm/main/src/srm_value.c Sat Feb 23 18:03:36 2002 GMT
@@ -1,4 +1,4 @@
-/* $Id: cvstemp,v 1.43 2002/02/11 22:48:22 sterling Exp $ */
+/* $Id: cvstemp,v 1.44 2002/02/23 19:03:36 derick Exp $ */
 
 /* The contents of this file are subject to the Vulcan Logic Public
  * License Version 1.1 (the "License"); you may not use this file
@@ -164,7 +164,7 @@
                 case SRM_VALUE_LIST: {
                         srm_llist_element *e;
 
- printf ("list(%d) = \n", srm_llist_count (SRMVALP_LIST (value)));
+ printf ("list(%lu) = \n", (long unsigned) srm_llist_count (SRMVALP_LIST (value)));
                         e = SRM_LLIST_HEAD (SRMVALP_LIST (value));
                         while (e != NULL) {
                                 srm_value_dump (SRM_LLIST_VALP (e), level + 1);
@@ -173,7 +173,7 @@
                         break;
                 }
                 case SRM_VALUE_HASH:
- printf ("hash(%d) = \n", SRMVALP_HASH(value)->size);
+ printf ("hash(%lu) = \n", (long unsigned) SRMVALP_HASH(value)->size);
 /* FIX ME: convert to srm_hash_apply */
 
                         for (i = 0; i < (SRMVALP_HASH(value))->slots; i++) {
Received on Sat Feb 23 20:03:50 2002

This archive was generated by hypermail 2.1.8 : Tue Jan 06 2009 - 06:00:02 CET