Commits

Anonymous committed 64f6169 Draft

make %v and %p consistent

R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=32591
CL=32593

  • Participants
  • Parent commits 908c8f8

Comments (0)

Files changed (1)

File src/pkg/fmt/print.go

 			break;
 		}
 		p.fmt.sharp = !p.fmt.sharp;  // turn 0x on by default
-		s = p.fmt.Fmt_uX64(uint64(v)).Str();
+		s = p.fmt.Fmt_ux64(uint64(v)).Str();
 	case reflect.ArrayOrSliceValue:
 		p.addstr("[");
 		for i := 0; i < f.Len(); i++ {