diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-06-27 15:42:50 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-27 15:42:50 +0000 |
| commit | 5ec9a131e12d021c42b46b601f5e79502485bebb (patch) | |
| tree | 31d63d293a6c5bc6ea1d677474380ea48976add4 /src/unit/hash.cpp | |
| parent | 01ecf54b07e75c17ca5f7039084daeefaea9a1c7 (diff) | |
| download | libbu++-5ec9a131e12d021c42b46b601f5e79502485bebb.tar.gz libbu++-5ec9a131e12d021c42b46b601f5e79502485bebb.tar.bz2 libbu++-5ec9a131e12d021c42b46b601f5e79502485bebb.tar.xz libbu++-5ec9a131e12d021c42b46b601f5e79502485bebb.zip | |
The MemBuf works just fine, although it still can't over-write data in the
buffer.
Diffstat (limited to 'src/unit/hash.cpp')
| -rw-r--r-- | src/unit/hash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unit/hash.cpp b/src/unit/hash.cpp index 588e687..9ea933f 100644 --- a/src/unit/hash.cpp +++ b/src/unit/hash.cpp | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include "bu/fstring.h" | 1 | #include "bu/fstring.h" |
| 2 | #include "bu/hash.h" | 2 | #include "bu/hash.h" |
| 3 | #include "unitsuite.h" | 3 | #include "bu/unitsuite.h" |
| 4 | 4 | ||
| 5 | #include <stdio.h> | 5 | #include <stdio.h> |
| 6 | 6 | ||
| @@ -23,7 +23,7 @@ public: | |||
| 23 | { | 23 | { |
| 24 | StrIntHash h; | 24 | StrIntHash h; |
| 25 | char buf[20]; | 25 | char buf[20]; |
| 26 | for(int i=0;i<10000;i++) | 26 | for(int i=1;i<10000;i++) |
| 27 | { | 27 | { |
| 28 | sprintf(buf,"%d",i); | 28 | sprintf(buf,"%d",i); |
| 29 | Bu::FString sTmp(buf); | 29 | Bu::FString sTmp(buf); |
