format changes

This commit is contained in:
Axel Kohlmeyer
2021-09-17 22:49:57 -04:00
parent cd3efc3fa8
commit 385220fd4b
62 changed files with 322 additions and 386 deletions

View File

@ -29,9 +29,9 @@
// g++ -g -DLAMMPS_BIGBIG binarytxt.o -o binary2txt
// again -DLAMMPS_SMALLBIG is the default
#include "stdint.h"
#include <cstdint>
#define __STDC_FORMAT_MACROS
#include "inttypes.h"
#include <cinttypes>
#ifndef PRId64
#define PRId64 "ld"
@ -65,7 +65,7 @@ int main(int narg, char **arg)
char boundstr[9];
int maxbuf = 0;
double *buf = NULL;
double *buf = nullptr;
if (narg == 1) {
printf("Syntax: binary2txt file1 file2 ...\n");