[ 
https://issues.apache.org/jira/browse/DIRSERVER-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17868188#comment-17868188
 ] 

Emmanuel Lécharny edited comment on DIRSERVER-2405 at 7/23/24 9:14 PM:
-----------------------------------------------------------------------

Thanks, fixed by using {{* 1000L}} instead of {{* 1000}}


was (Author: elecharny):
Thanks, fixed by using ```* 1000L``` instead of ```* 1000```

> Possible overflow
> -----------------
>
>                 Key: DIRSERVER-2405
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2405
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Artemii Voronin
>            Priority: Major
>             Fix For: 2.0.0.AM28
>
>
> Is it possible to get an overlow in some functions in 
> _/interceptors/logger/src/main/java/org/apache/directory/server/core/logger/TimerInterceptor.java_?
>  For example, [this 
> operation|https://github.com/apache/directory-server/blob/9ffd5e2e708f7cc3224d5086e16b77aec7fdff42/interceptors/logger/src/main/java/org/apache/directory/server/core/logger/TimerInterceptor.java#L164].
>  We have a multiplication of *int* by 1000. But we want to get *long* as a 
> result.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to