Skip to content

Commit a233ca1

Browse files
committed
version 1.4.10
Fix: Pasting regions bigger than 0xFFFFFFFF all are 0x0.
1 parent ce2ee83 commit a233ca1

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ AC_PREREQ(2.50)
88
AC_INIT(hexedit.c)
99
AC_CONFIG_HEADERS(config.h)
1010

11-
define(TheVERSION, 1.4.9)
11+
define(TheVERSION, 1.4.10)
1212

1313
PRODUCT=hexedit
1414
VERSION=TheVERSION

hexedit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ int main(int argc, char **argv)
7070
if (streq(*argv, "-s") || streq(*argv, "--sector"))
7171
mode = bySector;
7272
else if (streq(*argv, "-v") || streq(*argv, "--version")) {
73-
printf("version 1.4.9\n\n");
73+
printf("version 1.4.10\n\n");
7474
printf("Copyright (C) 1998 Pixel (Pascal Rigaux). Updated by Oscar Megía López <megia.oscar@gmail.com>.\n");
7575
printf("This program is free software; you can redistribute it and/or modify\n");
7676
printf("it under the terms of the GNU General Public License as published by\n");

hexedit.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ void setToChar(int i, unsigned char c);
133133
/* Pages handling functions declaration */
134134
/*******************************************************************************/
135135
void discardEdited(void);
136-
void addToEdited(INT base, size_t size, unsigned char *vals);
137-
void removeFromEdited(INT base, size_t size);
136+
void addToEdited(INT base, INT size, unsigned char *vals);
137+
void removeFromEdited(INT base, INT size);
138138
typePage *newPage(INT base, size_t size);
139139
void freePage(typePage *page);
140140

page.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void discardEdited(void)
5757
if (mark_max >= biggestLoc) mark_max = biggestLoc - 1;
5858
}
5959

60-
void addToEdited(INT base, size_t size, unsigned char *vals)
60+
void addToEdited(INT base, INT size, unsigned char *vals)
6161
{
6262
typePage *p, *q = NULL;
6363
for (p = edited; p; q = p, p = p->next) {
@@ -143,7 +143,7 @@ void addToEdited(INT base, size_t size, unsigned char *vals)
143143
updatelastEditedLoc();
144144
}
145145

146-
void removeFromEdited(INT base, size_t size)
146+
void removeFromEdited(INT base, INT size)
147147
{
148148
typePage *p, *q = NULL;
149149
for (p = edited; p; p ? (q = p, p = p->next) : (q = NULL, p = edited)) {

0 commit comments

Comments
 (0)