diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 15:12:48 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 15:12:48 +0000 |
commit | 367ec43177a327f714f95b18e592da29347ade7d (patch) | |
tree | b05aac55fa9863c519e9f9a5b8f6ebd73984a19b /basic/source/classes/disas.cxx | |
parent | b84c57d8c71813a8a0a8293767ab02569871ec85 (diff) |
INTEGRATION: CWS npower3 (1.19.4); FILE MERGED
2006/09/28 22:28:22 npower 1.19.4.2: RESYNC: (1.19-1.20); FILE MERGED
2006/08/18 14:26:56 npower 1.19.4.1: #i64377# check in forgotten local edits <sigh>
Diffstat (limited to 'basic/source/classes/disas.cxx')
-rw-r--r-- | basic/source/classes/disas.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/basic/source/classes/disas.cxx b/basic/source/classes/disas.cxx index 16ff452d091f..e0526a8acbe0 100644 --- a/basic/source/classes/disas.cxx +++ b/basic/source/classes/disas.cxx @@ -4,9 +4,9 @@ * * $RCSfile: disas.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: obo $ $Date: 2006-10-12 14:24:40 $ + * last change: $Author: vg $ $Date: 2006-11-01 16:12:48 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -425,7 +425,9 @@ BOOL SbiDisas::DisasLine( String& rText ) } else { - snprintf( cBuf, sizeof(cBuf), "Lbl%04X", nPC ); + // fix warning (now error) for "Lbl%04lX" format + // nPC is now a sal_Int32 + snprintf( cBuf, sizeof(cBuf), "Lbl%08lX", nPC ); rText.AppendAscii( cBuf ); } rText += ':'; |