[petsc-dev] clang warning, 64bit indices
Lisandro Dalcin
dalcinl at gmail.com
Wed Mar 9 13:56:45 CST 2016
On 9 March 2016 at 22:51, Satish Balay <balay at mcs.anl.gov> wrote:
> Well the following works..
OK, but that's a small int, and you are little-endian, right? Could
you try the following?
char c[] = "9223372036854775807"
--
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/
4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 4332
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa
Office Phone: +966 12 808-0459
More information about the petsc-dev
mailing list