comparison src/ov-struct.cc @ 4944:44046bbaa52c

[project @ 2004-08-31 05:30:46 by jwe]
author jwe
date Tue, 31 Aug 2004 05:30:47 +0000
parents a1073eef650c
children 48d0defe9445
comparison
equal deleted inserted replaced
4943:1a499d0c58f5 4944:44046bbaa52c
1081 bool success = true; 1081 bool success = true;
1082 FOUR_BYTE_INT len; 1082 FOUR_BYTE_INT len;
1083 if (! is.read (X_CAST (char *, &len), 4)) 1083 if (! is.read (X_CAST (char *, &len), 4))
1084 return false; 1084 return false;
1085 if (swap) 1085 if (swap)
1086 swap_4_bytes (X_CAST (char *, &len)); 1086 swap_bytes<4> (&len);
1087 1087
1088 if (len > 0) 1088 if (len > 0)
1089 { 1089 {
1090 Octave_map m (map); 1090 Octave_map m (map);
1091 1091