--- /n/sources/plan9/sys/include/mp.h Mon Sep 7 20:29:15 2009 +++ /sys/include/mp.h Tue Jun 25 17:08:39 2024 @@ -45,7 +45,7 @@ char* mptoa(mpint*, int, char*, int); mpint* letomp(uchar*, uint, mpint*); /* byte array, little-endian */ int mptole(mpint*, uchar*, uint, uchar**); -mpint* betomp(uchar*, uint, mpint*); /* byte array, little-endian */ +mpint* betomp(uchar*, uint, mpint*); /* byte array, big-endian */ int mptobe(mpint*, uchar*, uint, uchar**); uint mptoui(mpint*); /* unsigned int */ mpint* uitomp(uint, mpint*); --- /n/sources/plan9/sys/include/ape/mp.h Mon Feb 4 19:12:44 2013 +++ /sys/include/ape/mp.h Thu Jun 27 18:36:26 2024 @@ -54,7 +54,7 @@ char* mptoa(mpint*, int, char*, int); mpint* letomp(uchar*, uint, mpint*); /* byte array, little-endian */ int mptole(mpint*, uchar*, uint, uchar**); -mpint* betomp(uchar*, uint, mpint*); /* byte array, little-endian */ +mpint* betomp(uchar*, uint, mpint*); /* byte array, big-endian */ int mptobe(mpint*, uchar*, uint, uchar**); uint mptoui(mpint*); /* unsigned int */ mpint* uitomp(uint, mpint*);