Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d124de4

Browse files
committed
use INT64_FORMAT in gid
1 parent 72ab6bf commit d124de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4703,7 +4703,7 @@ static void
47034703
MtmGenerateGid(char* gid)
47044704
{
47054705
static int localCount;
4706-
sprintf(gid, "MTM-%d-%d-%d-%ld", MtmNodeId, MyProcPid, ++localCount, (int64) GetCurrentTimestamp());
4706+
sprintf(gid, "MTM-%d-%d-%d-" INT64_FORMAT, MtmNodeId, MyProcPid, ++localCount, (int64) GetCurrentTimestamp());
47074707
}
47084708

47094709
/*

0 commit comments

Comments
 (0)