summaryrefslogtreecommitdiff
path: root/src/char_sql/int_party.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-25 19:37:58 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-25 19:37:58 +0000
commit604aa8ea6b8691e0b886bc55830930c65226e600 (patch)
tree57efd606c1a7727aadaa9938bbccb89dce09f90e /src/char_sql/int_party.c
parentad50b37beff08ee93979c244d24a60c12c7bc1bf (diff)
downloadhercules-604aa8ea6b8691e0b886bc55830930c65226e600.tar.gz
hercules-604aa8ea6b8691e0b886bc55830930c65226e600.tar.bz2
hercules-604aa8ea6b8691e0b886bc55830930c65226e600.tar.xz
hercules-604aa8ea6b8691e0b886bc55830930c65226e600.zip
Reformatting, warning fixes, unsigned char removal
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10618 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_party.c')
-rw-r--r--src/char_sql/int_party.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_party.c b/src/char_sql/int_party.c
index 3f3a88de1..c1c09e9a4 100644
--- a/src/char_sql/int_party.c
+++ b/src/char_sql/int_party.c
@@ -244,7 +244,7 @@ struct party_data *inter_party_fromsql(int party_id)
return NULL;
}
p->party.party_id = party_id;
- strncpy(&p->party.name, sql_row[1], NAME_LENGTH);
+ strncpy(p->party.name, sql_row[1], NAME_LENGTH);
p->party.exp = atoi(sql_row[2])?1:0;
p->party.item = atoi(sql_row[3]);
leader_id = atoi(sql_row[4]);