diff options
Diffstat (limited to 'qtools/qcstring.h')
-rw-r--r-- | qtools/qcstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qcstring.h b/qtools/qcstring.h index e1414b5..f54cf2f 100644 --- a/qtools/qcstring.h +++ b/qtools/qcstring.h @@ -403,7 +403,7 @@ public: else // need to make a copy { LSData *newData = LSData::create(size); - int len = d->len; + uint len = d->len; if (len>=size) len=size-1; memcpy(newData->toStr(),d->toStr(),len); newData->toStr()[len]=0; |