diff --git a/example1.html b/example1.html index 9a4a868d..3eaf87c5 100644 --- a/example1.html +++ b/example1.html @@ -25,7 +25,7 @@ namespace hello { const char* get() const { return "hi, world"; } ... }; - void length(const world& x) { return std::strlen(x.get()); } + std::size_t length(const world& x) { return std::strlen(x.get()); } } @@ -122,6 +122,6 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE, DWORD, LPVOID) express or implied warranty, and with no claim as to its suitability for any purpose.
- Updated: Oct 15, 2000 + Updated: Oct 30, 2000