Author: adrian.chadd
Date: Wed Apr  1 15:33:16 2009
New Revision: 13895

Modified:
    branches/LUSCA_HEAD/libcore/tools.h

Log:
Just use int for now; this value won't be large enough for size_t to
matter..



Modified: branches/LUSCA_HEAD/libcore/tools.h
==============================================================================
--- branches/LUSCA_HEAD/libcore/tools.h (original)
+++ branches/LUSCA_HEAD/libcore/tools.h Wed Apr  1 15:33:16 2009
@@ -15,7 +15,7 @@
  #endif

  /* How big is the region of memory between two char pointers? */
-static inline size_t charBufferSize(const char *start, const char *end) {  
return (end - start + 1); }
+static inline int charBufferSize(const char *start, const char *end) {  
return (end - start + 1); }

  #define XMIN(x,y) ((x)<(y)? (x) : (y))
  #define XMAX(x,y) ((x)>(y)? (x) : (y))

--~--~---------~--~----~------------~-------~--~----~
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