| Computers Forum Index » Computer Compilers - LCC » LCC-Win32 stringlib minor bug... |
|
Page 1 of 1 |
|
| Author |
Message |
| Jason Hood... |
Posted: Sun Jun 28, 2009 4:21 am |
|
|
|
Guest
|
Being curious as to how lcc-win32's stringlib handles memory, I noticed
this in the calculate_new_capacity function:
if (capacity % 2 > requested_size){
I expect that "%" should really be "/".
Jason. |
|
|
| Back to top |
|
|
|
| jacob navia... |
Posted: Sun Jun 28, 2009 9:10 pm |
|
|
|
Guest
|
Jason Hood wrote:
Quote: Being curious as to how lcc-win32's stringlib handles memory, I noticed
this in the calculate_new_capacity function:
if (capacity % 2 > requested_size){
I expect that "%" should really be "/".
Jason.
fixed in the latest version
Thanks for your help |
|
|
| Back to top |
|
|
|
|