View | Details | Raw Unified
Collapse All | Expand All

(-) gammu-1.12.0.orig/CMakeLists.txt (-1 / +1 lines)
 Lines 688-694    Link Here 
install (
install (
    FILES "${Gammu_BINARY_DIR}/cfg/gammu.pc"
    FILES "${Gammu_BINARY_DIR}/cfg/gammu.pc"
    DESTINATION "lib/pkgconfig"
    DESTINATION "${INSTALL_LIB_DIR}/pkgconfig"
    COMPONENT "development"
    COMPONENT "development"
    )
    )
(-) gammu-1.12.0.orig/common/phone/nokia/dct4s40/6510/6510file.c (-1 / +1 lines)
 Lines 934-940    Link Here 
					    msg.Buffer[11]*256*256+
					    msg.Buffer[11]*256*256+
					    msg.Buffer[12]*256+
					    msg.Buffer[12]*256+
					    msg.Buffer[13];
					    msg.Buffer[13];
				smprintf(s,"Size %i bytes\n",File->Used);
				smprintf(s,"Size %zi bytes\n",File->Used);
			}
			}
			File->ReadOnly = false;
			File->ReadOnly = false;
			if ((msg.Buffer[29] & 1) == 1) {
			if ((msg.Buffer[29] & 1) == 1) {
(-) gammu-1.12.0/common/service/backup/backtext.c.old (-9 / +9 lines)
 Lines 678-684    Link Here 
static void Identify(int argc, char *argv[])
static void Identify(int argc, char *argv[])
{
{
	char buffer[100];
	char buffer[1024];
	char date[100];
	char date[100];
	double num;
	double num;
 Lines 2697-2703    Link Here 
			error = GSM_GetFilePart(s,&File,&Handle,&Size);
			error = GSM_GetFilePart(s,&File,&Handle,&Size);
			if (error == ERR_EMPTY) break;
			if (error == ERR_EMPTY) break;
			Print_Error(error);
			Print_Error(error);
			fprintf(stderr, _("%c  Reading: %i percent"),13,File.Used*100/Size);
			fprintf(stderr, _("%c  Reading: %i percent"),13, (int)(File.Used*100/Size));
		}
		}
		fprintf(stderr, "%c",13);
		fprintf(stderr, "%c",13);
 Lines 8289-8295    Link Here 
						if (!Files.ModifiedEmpty) {
						if (!Files.ModifiedEmpty) {
							printf(" %30s",OSDateTime(Files.Modified,false));
							printf(" %30s",OSDateTime(Files.Modified,false));
						} else printf(" %30c",0x20);
						} else printf(" %30c",0x20);
						printf(" %9i",Files.Used);
						printf(" %9zi",Files.Used);
						printf(" ");
						printf(" ");
					} else printf("|-- ");
					} else printf("|-- ");
				} else {
				} else {
 Lines 8325-8331    Link Here 
				if (!Files.ModifiedEmpty) {
				if (!Files.ModifiedEmpty) {
					printf("\"%s\";",OSDateTime(Files.Modified,false));
					printf("\"%s\";",OSDateTime(Files.Modified,false));
				} else  printf("\"%c\";",0x20);
				} else  printf("\"%c\";",0x20);
				printf("%i;",Files.Used);
				printf("%zi;",Files.Used);
			} else {
			} else {
				if (error == ERR_FOLDERPART) {
				if (error == ERR_FOLDERPART) {
					printf(_("Part of folder;"));
					printf(_("Part of folder;"));
 Lines 8440-8446    Link Here 
			if (!Files.ModifiedEmpty) {
			if (!Files.ModifiedEmpty) {
				printf("\"%s\";",OSDateTime(Files.Modified,false));
				printf("\"%s\";",OSDateTime(Files.Modified,false));
			} else  printf("\"%c\";",0x20);
			} else  printf("\"%c\";",0x20);
			printf("%i;",Files.Used);
			printf("%zi;",Files.Used);
		} else {
		} else {
			printf(_("Folder"));
			printf(_("Folder"));
			printf(";\"%s\";",DecodeUnicodeConsole(Files.Name));
			printf(";\"%s\";",DecodeUnicodeConsole(Files.Name));
 Lines 8495-8501    Link Here 
			if (Size==0) {
			if (Size==0) {
				printf("*");
				printf("*");
			} else {
			} else {
				fprintf(stderr, _("%c  %i percent"), 13, File->Used*100/Size);
				fprintf(stderr, _("%c  %i percent"), 13, (int)(File->Used*100/Size));
				if (File->Used*100/Size >= 2) {
				if (File->Used*100/Size >= 2) {
					t_time2 = time(NULL);
					t_time2 = time(NULL);
					diff 	= t_time2-t_time1;
					diff 	= t_time2-t_time1;
 Lines 8676-8682    Link Here 
		if (File->Used != 0) {
		if (File->Used != 0) {
			fprintf(stderr, "\r");
			fprintf(stderr, "\r");
			fprintf(stderr, "%s", text);
			fprintf(stderr, "%s", text);
			fprintf(stderr, _("%3i percent"), Pos * 100 / File->Used);
			fprintf(stderr, _("%3i percent"), (int)(Pos * 100 / File->Used));
			if (Pos*100/File->Used >= 2) {
			if (Pos*100/File->Used >= 2) {
				GSM_GetCurrentDateTime(&dt);
				GSM_GetCurrentDateTime(&dt);
				t_time2 = Fill_Time_T(dt);
				t_time2 = Fill_Time_T(dt);
 Lines 25-31    Link Here 
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */
#define MAX_LINES 50
#define MAX_LINES 512
typedef struct {
typedef struct {
	int numbers[MAX_LINES*2];
	int numbers[MAX_LINES*2];
 Lines 895-901    Link Here 
static void SaveRingtoneEntry(FILE *file, GSM_Ringtone *ringtone, bool UseUnicode)
static void SaveRingtoneEntry(FILE *file, GSM_Ringtone *ringtone, bool UseUnicode)
{
{
	unsigned char buffer[45000];
	unsigned char buffer[131072];
	sprintf(buffer,"Location = %i%c%c",ringtone->Location,13,10);
	sprintf(buffer,"Location = %i%c%c",ringtone->Location,13,10);
	SaveBackupText(file, "", buffer, UseUnicode);
	SaveBackupText(file, "", buffer, UseUnicode);