pls_integer in my package ora-06502 pl/sql :numeric or value error
i have a package that use of pls_integer AS you see in the follow
CREATE OR REPLACE PACKAGE BODY CLOB_HANDLER_PKG
IS
P$Size PLS_INTEGER := 8192 ;
.
.
part$p := SUBSTR( P$NClob, P$Pos, P$Size ) ;
this code is working fine in databaseA but in databaseB for some cases gives Exception ora-06502 pl/sql :numeric or value error when i change 8192 to 7192 it works correct .
what i must to do that this package works with 8192 in databaseB too?