Mercurial > octave-nkf
comparison liboctave/util/kpse.cc @ 16314:0723ea02dcdb
use intptr_t instead of long
* lo-sysdep.cc (octave_popen2) Use intptr_t instead of long.
* kpse.cc (KPSE_DEBUG_FOPEN): Likewise.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 15 Mar 2013 04:14:09 -0400 |
parents | 049e8bbff782 |
children | e2de3c8882be |
comparison
equal
deleted
inserted
replaced
16313:6aafe87a3144 | 16314:0723ea02dcdb |
---|---|
362 if (! f) | 362 if (! f) |
363 FATAL_PERROR (filename.c_str ()); | 363 FATAL_PERROR (filename.c_str ()); |
364 | 364 |
365 if (KPSE_DEBUG_P (KPSE_DEBUG_FOPEN)) | 365 if (KPSE_DEBUG_P (KPSE_DEBUG_FOPEN)) |
366 DEBUGF3 ("fopen (%s, %s) => 0x%lx\n", filename.c_str (), mode, | 366 DEBUGF3 ("fopen (%s, %s) => 0x%lx\n", filename.c_str (), mode, |
367 reinterpret_cast<unsigned long> (f)); | 367 reinterpret_cast<intptr_t> (f)); |
368 | 368 |
369 return f; | 369 return f; |
370 } | 370 } |
371 | 371 |
372 /* A single (key,value) pair. */ | 372 /* A single (key,value) pair. */ |